|
MoSync 3.2.1
|
Defines | |
| #define | MAW_SEARCH_BAR_TEXT "text" |
| Set or get the current text of the search bar. | |
| #define | MAW_SEARCH_BAR_PLACEHOLDER "placeholder" |
| Set a text in the search bar that acts as a placeholder when an edit box is empty. | |
| #define | MAW_SEARCH_BAR_SHOW_KEYBOARD "showKeyboard" |
| Shows or hides the virtual keyboard. If shown the focus will be set to this widget. | |
The available widget properties for a MAW_SEARCH_BAR. See Widget properties for more properties.
| #define MAW_SEARCH_BAR_TEXT "text" |
Set or get the current text of the search bar.
maWidgetSetProperty(searchBarHandle, MAW_SEARCH_BAR_TEXT, "My search query");
| #define MAW_SEARCH_BAR_PLACEHOLDER "placeholder" |
Set a text in the search bar that acts as a placeholder when an edit box is empty.
maWidgetSetProperty(searchBarHandle, MAW_SEARCH_BAR_PLACEHOLDER, "Search...");
| #define MAW_SEARCH_BAR_SHOW_KEYBOARD "showKeyboard" |
Shows or hides the virtual keyboard. If shown the focus will be set to this widget.
maWidgetSetProperty(searchBarHandle, MAW_SEARCH_BAR_SHOW_KEYBOARD, "true");