From wiki.ginstr.com
Jump to: navigation, search
(Example)
Line 23: Line 23:
 
|-
 
|-
 
| [[target]]{n}
 
| [[target]]{n}
| [[widget]] where the variable value will be stored
+
| [[:Category:Widgets|widget]] where the variable value will be stored
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** [[widget]]
+
** [[:Category:Widgets|widget]]
 
|-
 
|-
 
|}
 
|}

Revision as of 13:25, 31 March 2017

gn:act_getVariables

Description
Action used to copy variable values in corresponding targets
Action returns
void

Action signatures

Copy variable values to targets

[gn:act_getVariables]|[source{n};target{n}]
Parameter Description
source{n} variable from where the value will be copied
target{n} widget where the variable value will be stored

Example

@variable/userFirstName,@variable/userLastName - source
@+id/user_firstName,@+id/user_lastName - target

[gn:act_getVariables]|[@variable/userFirstName,@variable/userLastName;@+id/user_firstName,@+id/user_lastName]