From wiki.ginstr.com
Jump to: navigation, search
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_setLongClick</code></span>
 
<span STYLE="font-size: xx-large"><code>gn:act_setLongClick</code></span>
[[Category:Action_Sets]]
+
[[Category:Events]]
  
<code>[[gn:act_setLongClick]]</code> is an [[:Category:Action_Sets|action set]] that is executed by long clicking on a widget
+
;Description
 +
: Event executed by long 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: long click on a widget
+
==Event signature==
 +
;<code>gn:act_setLongClick="action{n}"</code>
  
;Can be used as: an [[:Category:Actions#Action_types|event action]]
+
===Example===
 
+
<code>gn:act_setLongClick="[gn:act_trigger]|[@+id/addRecipientOfProtocolValidation,gn:act_set]"</code>
;Additional required attributes on bound widget: none
+
<hr>
==Action signature==
 
;<code>gn:act_setLongClick=[action]|[actValue],[action2]|[actValue],….”</code>
 

Revision as of 15:22, 15 March 2017

gn:act_setLongClick

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

Event signature

gn:act_setLongClick="action{n}"

Example

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