From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
(6 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
[[Category:Events]]
 
[[Category:Events]]
  
<code>[[gn:act_setClick]]</code> event is executed by clicking on a widget
+
;Description
 +
: Event executed by clicking on a widget
  
 
;Can be used on  
 
;Can be used on  
* all [[:Category:Widgets|widgets]]
+
: all [[:Category:Widgets|widgets]]
  
;Trigger for event
 
: Click on a widget
 
 
;Additional required attributes on bound widget: none
 
 
==Event signature==
 
==Event signature==
;<code>gn:act_setClick="action{n}"</code>
+
:;<code>gn:act_setClick="action{n}"</code>
  
 
===Example===
 
===Example===
<code>gn:act_setClick="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
+
:<code>gn:act_setClick="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
 
<hr>
 
<hr>

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]"