wxSearchCtrl
Implements methods from the following classes
wxTextCtrl
Methods
wxSearchCtrl
Default constructor.
Create
Creates the text control for two-step construction.
GetDescriptiveText
Return the text displayed when there is not yet any user input.
GetMenu
Returns a pointer to the search control's menu object or NULL if there is no menu attached.
IsCancelButtonVisible
Returns the cancel button's visibility state.
IsSearchButtonVisible
Returns the search button visibility value.
SetDescriptiveText
Set the text to be displayed in the search control when the user has not yet typed anything in it.
SetMenu
Sets the search control's menu object.
ShowCancelButton
Shows or hides the cancel button.
ShowSearchButton
Sets the search button visibility value on the search control.
Static Methods
wxSearchCtrl
wxSearchCtrl
( )
Default constructor.
wxSearchCtrl
(
wxWindow
&
$parent
,
integer
$id
,
string
$value
=
wxEmptyString
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxSearchCtrlNameStr
)
Constructor, creating and showing a text control.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
,
string
$value
=
wxEmptyString
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
,
wxValidator
$validator
=
wxDefaultValidator
,
string
$name
=
wxSearchCtrlNameStr
)
Creates the text control for two-step construction.
GetDescriptiveText
string
GetDescriptiveText
( )
Return the text displayed when there is not yet any user input.
GetMenu
wxMenu
&
GetMenu
( )
Returns a pointer to the search control's menu object or NULL if there is no menu attached.
IsCancelButtonVisible
bool
IsCancelButtonVisible
( )
Returns the cancel button's visibility state.
IsSearchButtonVisible
bool
IsSearchButtonVisible
( )
Returns the search button visibility value.
SetDescriptiveText
SetDescriptiveText
(
string
$text
)
Set the text to be displayed in the search control when the user has not yet typed anything in it.
SetMenu
SetMenu
(
wxMenu
&
$menu
)
Sets the search control's menu object.
ShowCancelButton
ShowCancelButton
(
bool
$show
)
Shows or hides the cancel button.
ShowSearchButton
ShowSearchButton
(
bool
$show
)
Sets the search button visibility value on the search control.