MoSync 3.3
Relative layout

Defines

#define MAW_RELATIVE_LAYOUT_SCROLLABLE   "scrollable"
 Sets the isScrollable boolean.
#define MAW_RELATIVE_LAYOUT_CONTENT_OFFSET   "contentOffset"
 Sets the content offset. The layout will be scrolled to the given coordinate. Platform: iOS.

Define Documentation

#define MAW_RELATIVE_LAYOUT_SCROLLABLE   "scrollable"

Sets the isScrollable boolean.

Valid values
"true" or "false", for "true" the layout will become scrollable otherwise it will become unscrollable
Operations
Set and get.
Example
        maWidgetSetProperty(verticalLayoutHandle, MAW_RELATIVE_LAYOUT_SCROLLABLE, "true");
#define MAW_RELATIVE_LAYOUT_CONTENT_OFFSET   "contentOffset"

Sets the content offset. The layout will be scrolled to the given coordinate. Platform: iOS.

Valid values
Two int values separated by dash "-". The first int value represents the x coord and the second value represents the y coord. If the value is not as described the content offset will not be set and syscall will return MAW_RES_INVALID_PROPERTY_VALUE. The default value is (0,0).
Operations
Set and get.
Example
        maWidgetSetProperty(verticalLayoutHandle, MAW_RELATIVE_LAYOUT_SCROLLABLE, "30-30");
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines