From wiki.ginstr.com
Jump to: navigation, search
m (Mark moved page Gn:act setClick to gn:act setClick)
m (formatting)
 
(15 intermediate revisions by one other user not shown)
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_setClick</code></span>
 
<span STYLE="font-size: xx-large"><code>gn:act_setClick</code></span>
[[Category:Action_Sets]]
+
[[Category:Events]]
  
<code>[[gn:act_setClick]]</code> is an [[:Category:Action_Sets|action set]] that is executed by clicking on a widget
+
;Description
 +
: Event executed by clicking on a widget
  
;Can be used on widgets: all except <code>[[GnDropDown]]</code>
+
;Can be used on  
 +
: all [[:Category:Widgets|widgets]]
  
;Event trigger for action: click on a widget
+
==Event signature==
 +
:;<code>gn:act_setClick="action{n}"</code>
  
;Can be used as: an [[:Category:Actions#Action_types|event action]]
+
===Example===
 
+
:<code>gn:act_setClick="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
;Additional required attributes on bound widget: none
+
<hr>
==Action signature==
 
;<code>gn:act_setClick=[action]|[actValue],[action2]|[actValue],….”</code>
 

Latest revision as of 22:12, 12 July 2017

gn:act_setClick

Description
Event executed by clicking on a widget
Can be used on
all widgets

Event signature

gn:act_setClick="action{n}"

Example

gn:act_setClick="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"