From wiki.ginstr.com
Jump to: navigation, search
(Show specific widgets)
(Show specific widgets)
Line 20: Line 20:
 
| [[target]] which will be shown
 
| [[target]] which will be shown
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
** any [[:Category:Widgets|widget]]
+
** [[GnTimePicker]]
 +
** [[GnDateTimePicker]]
 
|-
 
|-
 
|}
 
|}

Revision as of 10:19, 22 January 2020

gn:act_updateWidgetAttribute

Description
Action used to show widgets on the screen. It can be used to show one or more or all widgets on the screen.
Action returns
void

Action signatures

Show specific widgets

[gn:act_updateWidgetAttribute]|[target,sourceAttributeName,sourceValue]
Parameter Description
target{n} target which will be shown

Example

@+id/screen2_caregiverCheckupComments,@+id/caregiverReport_checkupComments - widgets which will be shown
[gn:act_showWidgets]|[@+id/screen2_caregiverCheckupComments,@+id/caregiverReport_checkupComments]

Show all widgets

[gn:act_showWidgets]|[]

Example

[gn:act_showWidgets]|[]