Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxFindReplaceData (3erl)

Name

wxFindReplaceData - Functions for wxFindReplaceData class

Synopsis

Please see following description for synopsis

Description

wxFindReplaceData(3)       Erlang Module Definition       wxFindReplaceData(3)



NAME
       wxFindReplaceData - Functions for wxFindReplaceData class

DESCRIPTION
       wxFindReplaceData holds the data for wxFindReplaceDialog.

       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 gener-
       ated so instead of using the wxFindDialogEvent (not implemented in  wx)
       methods you can also directly query this object.

       Note  that  all  SetXXX() methods may only be called before showing the
       dialog and calling them has no effect later.

       wxWidgets docs: wxFindReplaceData

DATA TYPES
       wxFindReplaceData() = wx:wx_object()

EXPORTS
       new() -> wxFindReplaceData()

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

              Types:

                 Option = {flags, integer()}

              Constructor initializes the flags to default value (0).

       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  dia-
              log).

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

              Destroys the object.



wxWidgets team.                    wx 2.1.1               wxFindReplaceData(3)