From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Reload all widgets===
 
===Reload all widgets===
  
;<code>[gn:act_reloadAutoFilledWidgets]|[]</code>
+
:;<code>[gn:act_reloadAutoFilledWidgets]|[]</code>
  
 
====Example====
 
====Example====
<code>[gn:act_reloadAutoFilledWidgets]|[]</code>
+
:<code>[gn:act_reloadAutoFilledWidgets]|[]</code>
 
<hr>
 
<hr>
  
 
===Reload specific widgets===
 
===Reload specific widgets===
  
;<code>[gn:act_reloadAutoFilledWidgets]|[target{n}]</code>
+
:;<code>[gn:act_reloadAutoFilledWidgets]|[target{n}]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[target]]{n}
+
| <code>[[target]]{n}</code>
 
| [[target]] in which the data will be reloaded
 
| [[target]] in which the data will be reloaded
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
** [[GnEditText]] with the following source type:
+
** <code>[[GnEditText]]</code> with the following [[GnEditText#Source_types|source type]]:
***<code>aguser</code>
+
***<code>[[GnEditText#Source_types|aguser]]</code>
***<code>time</code>
+
***<code>[[GnEditText#Source_types|time]]</code>
***<code>agversion</code>
+
***<code>[[GnEditText#Source_types|agversion]]</code>
***<code>serial</code>
+
***<code>[[GnEditText#Source_types|serial]]</code>
***<code>gps</code> (will start gps fetch only if it's not already in progress on that widget while this action is executed)
+
***<code>[[GnEditText#Source_types|gps]]</code> (will start gps fetch only if it's not already in progress on that widget while this action is executed)
 
|-
 
|-
 
|}
 
|}
  
 
====Example====
 
====Example====
<code>@+id/timeOutDATA,@+id/timeOutDATA2</code> - GnEditText<br><br>
+
:<code>@+id/timeOutDATA,@+id/timeOutDATA2</code> - <code>[[GnEditText]]</code><br>
<code>[gn:act_reloadAutoFilledWidgets]|[@+id/timeOutDATA,@+id/timeOutDATA2]</code>
+
:; ⤷ <code>[gn:act_reloadAutoFilledWidgets]|[@+id/timeOutDATA,@+id/timeOutDATA2]</code>
 
<hr>
 
<hr>

Latest revision as of 13:40, 12 July 2017

gn:act_reloadAutoFilledWidgets

Description
Action used to reload GnEditText widgets that have special ability to autoload data.
Action returns
void

Action signatures

Reload all widgets

[gn:act_reloadAutoFilledWidgets]|[]

Example

[gn:act_reloadAutoFilledWidgets]|[]

Reload specific widgets

[gn:act_reloadAutoFilledWidgets]|[target{n}]
Parameter Description
target{n} target in which the data will be reloaded

Example

@+id/timeOutDATA,@+id/timeOutDATA2 - GnEditText
[gn:act_reloadAutoFilledWidgets]|[@+id/timeOutDATA,@+id/timeOutDATA2]