m (Mark moved page Gn:act widgetIncreaseCounter to gn:act widgetIncreaseCounter) |
|||
Line 1: | Line 1: | ||
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> | <div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> | ||
<span STYLE="font-size: xx-large"><code>gn:act_widgetIncreaseCounter</code></span> | <span STYLE="font-size: xx-large"><code>gn:act_widgetIncreaseCounter</code></span> | ||
− | |||
<code>[[gn:act_widgetIncreaseCounter]]</code> is used to add <code>+1</code> to number stored in <code>@+id/targetWidget</code> | <code>[[gn:act_widgetIncreaseCounter]]</code> is used to add <code>+1</code> to number stored in <code>@+id/targetWidget</code> |
Latest revision as of 12:26, 14 March 2017
Contents
gn:act_widgetIncreaseCounter
gn:act_widgetIncreaseCounter
is used to add +1
to number stored in @+id/targetWidget
The target widget must contain a numeric integer value.
- Can be used on widgets
- any widget
- Event trigger for action
- no event, must be used in action set or conditional action.
- Can be used as
- a no event action
- Additional required attributes on bound widget
- none
- Additional required attributes on other widgets
- none
Action signature
[gn:act_widgetIncreaseCounter]|[@+id/targetWidget]
Value field content
@+id/targetWidget
- defines target widget that stores integer value
Currently works with the following widgets: