Class: Wx::FindReplaceData
- Defined in:
- lib/wx/doc/gen/find_replace_data.rb
Overview
FindReplaceData holds the data for FindReplaceDialog.
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 FindDialogEvent is generated so instead of using the FindDialogEvent 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.
Category: Common Dialogs, Data Structures
Instance Method Summary collapse
-
#get_find_string ⇒ Wx::String
(also: #find_string)
Get the string to find.
-
#get_flags ⇒ Integer
(also: #flags)
Get the combination of FindReplaceFlags values.
-
#get_replace_string ⇒ Wx::String
(also: #replace_string)
Get the replacement string.
-
#initialize(flags = 0) ⇒ Wx::FindReplaceData
constructor
Constructor initializes the flags to default value (0).
-
#set_find_string(str) ⇒ void
(also: #find_string=)
Set the string to find (used as initial value by the dialog).
-
#set_flags(flags) ⇒ void
(also: #flags=)
Set the flags to use to initialize the controls of the dialog.
-
#set_replace_string(str) ⇒ void
(also: #replace_string=)
Set the replacement string (used as initial value by the dialog).
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(flags = 0) ⇒ Wx::FindReplaceData
Constructor initializes the flags to default value (0).
22 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 22 def initialize(flags=0) end |
Instance Method Details
#get_find_string ⇒ Wx::String Also known as: find_string
Get the string to find.
26 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 26 def get_find_string; end |
#get_flags ⇒ Integer Also known as: flags
Get the combination of Wx::FindReplaceFlags values.
31 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 31 def get_flags; end |
#get_replace_string ⇒ Wx::String Also known as: replace_string
Get the replacement string.
36 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 36 def get_replace_string; end |
#set_find_string(str) ⇒ void Also known as: find_string=
This method returns an undefined value.
Set the string to find (used as initial value by the dialog).
42 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 42 def set_find_string(str) end |
#set_flags(flags) ⇒ void Also known as: flags=
This method returns an undefined value.
Set the flags to use to initialize the controls of the dialog.
48 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 48 def set_flags(flags) end |
#set_replace_string(str) ⇒ void Also known as: replace_string=
This method returns an undefined value.
Set the replacement string (used as initial value by the dialog).
54 |
# File 'lib/wx/doc/gen/find_replace_data.rb', line 54 def set_replace_string(str) end |