MoSync 3.2.1
Stack screen

Defines

#define MAW_STACK_SCREEN_TITLE   "title"
#define MAW_STACK_SCREEN_ICON   "icon"
#define MAW_STACK_SCREEN_BACK_BUTTON_ENABLED   "backButtonEnabled"
 Specifies whether the back button automatically should pop the stack screen.

Detailed Description

The available widget properties for a MAW_STACK_SCREEN. See Widget properties for more properties.


Define Documentation

#define MAW_STACK_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.

Valid values
Null terminated string. The length of the string should be short enough to fit in a tab indicator.
Operations
Set only.
Example
        maWidgetSetProperty(screenHandle, MAW_SCREEN_TITLE, "My title");
#define MAW_STACK_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.

Valid values
MoSync handle to an uncompressed image resource. The size of the image should be small enough to fit in a tab indicator.
Operations
Set only.
Example
        maWidgetSetProperty(screenHandle, MAW_SCREEN_ICON, toString(R_MY_ICON));
#define MAW_STACK_SCREEN_BACK_BUTTON_ENABLED   "backButtonEnabled"

Specifies whether the back button automatically should pop the stack screen.

This can have different behaviors on different platforms, on iPhone the UI back button is disabled, on Android the stack screen ignores back button events.

Valid values
A boolean string 'true' or 'false'.
Operations
Set only.
Example
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines