|
MoSync 3.3
|
Defines | |
| #define | MAW_SCREEN_TITLE "title" |
| Sets the title of a screen. The screen title is used by tab screen to display a text on the tab indicator. | |
| #define | MAW_SCREEN_ICON "icon" |
| Sets an icon for a screen. The icon is used by a tab screen to display an icon on the tab indicator. | |
| #define | MAW_SCREEN_REMOVE_OPTIONS_MENU "removeoptionsmenu" |
| Remove the options menu from this screen. The options menu can be added by calling maWidgetScreenAddOptionsMenuItem for each item. | |
| #define | MAW_SCREEN_IS_SHOWN "isShown" |
| Check if a screen is shown. | |
The available widget properties for a MAW_SCREEN. See Widget properties for more properties.
| #define MAW_SCREEN_TITLE "title" |
Sets the title of a screen. The screen title is used by tab screen to display a text on the tab indicator.
maWidgetSetProperty(screenHandle, MAW_SCREEN_TITLE, "My title");
| #define MAW_SCREEN_ICON "icon" |
Sets an icon for a screen. The icon is used by a tab screen to display an icon on the tab indicator.
maWidgetSetProperty(screenHandle, MAW_SCREEN_ICON, toString(R_MY_ICON));
| #define MAW_SCREEN_REMOVE_OPTIONS_MENU "removeoptionsmenu" |
Remove the options menu from this screen. The options menu can be added by calling maWidgetScreenAddOptionsMenuItem for each item.
maWidgetSetProperty(screenHandle, MAW_SCREEN_REMOVE_OPTIONS_MENU, "");
| #define MAW_SCREEN_IS_SHOWN "isShown" |
Check if a screen is shown.
char buffer[BUFFER_SIZE]; int result = maWidgetGetProperty(screenHandle, MAW_SCREEN_IS_SHOWN, buffer, BUFFER_SIZE); if(result == MAW_RES_OK && strcmp(buffer, "true") == 0) { // Screen is visible. }