From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_getLauncherSetting</code></span> Category:Action_Librar...")
 
Line 3: Line 3:
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
;Description: Action used to update [[widgets|widget]] attribute.
+
;Description: Action that retrieves ginstr launcher setting.
  
 
;Action returns: void
 
;Action returns: void

Revision as of 12:45, 11 February 2020

gn:act_getLauncherSetting

Description
Action that retrieves ginstr launcher setting.
Action returns
void

Action signatures

Update widget attribute

[gn:act_getLauncherSetting]|[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]

List of supported attributes

Widget Attribute name
GnTimePicker gn:is24HourFormat
GnDateTimePicker gn:is24HourFormat