wxFindReplaceData(3erl)

πŸ’– NAME πŸ’–

wxFindReplaceData(3erl) β€” Erlang module definition, bestie. This page is all about wxFindReplaceData: functions for the wxFindReplaceData class. Slay.

🌸 DESCRIPTION 🌸

So wxFindReplaceData holds the data for wxFindReplaceDialog. It’s giving data-holder main character energy, honestly.

It is used to initialize the dialog with the default values and will keep the last values from the dialog when it is closed. It is also updated each time a wxFindDialogEvent (not implemented in wx) is generated, so instead of using the wxFindDialogEvent (not implemented in wx) methods you can also directly query this object.

⚠️ Note, bestie: all SetXXX() methods may only be called before showing the dialog, and calling them has no effect later. No cap.

Docs hookup: wxWidgets docs: wxFindReplaceData.

πŸŽ€ DATA TYPES πŸŽ€

  • wxFindReplaceData() = wx:wx_object() β€” that’s the type, periodt.

✨ EXPORTS ✨

new() -> wxFindReplaceData()

Makes a fresh one. Very demure, very constructor.

new(Options :: [Option]) -> wxFindReplaceData()

Types:

  • Option = {flags, integer()}

Constructor initializes the flags to default value (0). Iconic.

getFindString(This) -> unicode:charlist()

Types:

  • This = wxFindReplaceData()

Get the string to find. πŸ”

getReplaceString(This) -> unicode:charlist()

Types:

  • This = wxFindReplaceData()

Get the replacement string. πŸ’…

getFlags(This) -> integer()

Types:

  • This = wxFindReplaceData()

Get the combination of wxFindReplaceFlags values.

setFlags(This, Flags) -> ok

Types:

  • This = wxFindReplaceData()
  • Flags = integer()

Set the flags to use to initialize the controls of the dialog.

setFindString(This, Str) -> ok

Types:

  • This = wxFindReplaceData()
  • Str = unicode:chardata()

Set the string to find (used as initial value by the dialog). 🫢

setReplaceString(This, Str) -> ok

Types:

  • This = wxFindReplaceData()
  • Str = unicode:chardata()

Set the replacement string (used as initial value by the dialog). πŸ¦‹

destroy(This :: wxFindReplaceData()) -> ok

Destroys the object. Bye bestie, you ate. πŸ’€βœ¨


πŸ’– Cute little sign-off: source is wxWidgets team., version is wx 2.2.2.1, and this is the wxFindReplaceData(3erl) page. The footer doesn’t print a separate date, so no invented date here β€” just honest bestie vibes. πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from