Mention GTK native version in wxSearchCtrl documentation
Document some of the (minor) limitations of the native implementation as well as its existence itself.
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
A search control is a composite control with a search button, a text
|
||||
control, and a cancel button.
|
||||
|
||||
This control is implemented natively under macOS and GTK 3.6 or later and
|
||||
generically for all the other platforms.
|
||||
|
||||
@beginStyleTable
|
||||
@style{wxTE_PROCESS_TAB}
|
||||
The control will receive @c wxEVT_CHAR events for TAB pressed -
|
||||
@@ -138,13 +141,21 @@ public:
|
||||
|
||||
/**
|
||||
Shows or hides the cancel button.
|
||||
|
||||
Note that this function does nothing in the native GTK version of the
|
||||
control: "Cancel" button is always shown automatically if the control
|
||||
is not empty and hidden if it is empty.
|
||||
*/
|
||||
virtual void ShowCancelButton(bool show);
|
||||
|
||||
/**
|
||||
Sets the search button visibility value on the search control.
|
||||
|
||||
If there is a menu attached, the search button will be visible regardless of
|
||||
the search button visibility value.
|
||||
|
||||
Note that this function does nothing in the native GTK version of the
|
||||
control: "Search" button is always shown there.
|
||||
*/
|
||||
virtual void ShowSearchButton(bool show);
|
||||
|
||||
|
Reference in New Issue
Block a user