From wiki.ginstr.com
Jump to: navigation, search
(Show specific widgets)
Line 41: Line 41:
 
:; ⤷ <code>[gn:act_updateWidgetAttribute]|[@+id/progressReport20_serviceTimeStartInput,@variable/attributeName,@variable/is24HoursTime]</code>
 
:; ⤷ <code>[gn:act_updateWidgetAttribute]|[@+id/progressReport20_serviceTimeStartInput,@variable/attributeName,@variable/is24HoursTime]</code>
 
<hr>
 
<hr>
 
===Show all widgets===
 
 
:;<code>[gn:act_showWidgets]|[]</code>
 
 
====Example====
 
:;<code>[gn:act_showWidgets]|[]</code>
 

Revision as of 10:43, 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
sourceAttributeName{n} source which will be used for attribute name
sourceValue{n} source which will be used for attribute value

Example

@+id/progressReport20_serviceTimeStartInput - widget which will be updated
@variable/attributeName - attribute which will be updated
@variable/is24HoursTime - new value
[gn:act_updateWidgetAttribute]|[@+id/progressReport20_serviceTimeStartInput,@variable/attributeName,@variable/is24HoursTime]