From wiki.ginstr.com
Jump to: navigation, search
Line 4: Line 4:
  
 
;Description: Action used trigger any [[:Category:Events|event]] on a different widget. This means somewhere in execution of certain widget execution can be transferred to some other widget [[:Category:Events|event]]. It can be also used to trigger another [[:Category:Events|event]] on current widget.
 
;Description: Action used trigger any [[:Category:Events|event]] on a different widget. This means somewhere in execution of certain widget execution can be transferred to some other widget [[:Category:Events|event]]. It can be also used to trigger another [[:Category:Events|event]] on current widget.
 
  
 
;Action returns: void
 
;Action returns: void

Revision as of 15:03, 14 March 2017

gn:act_trigger

Description
Action used trigger any event on a different widget. This means somewhere in execution of certain widget execution can be transferred to some other widget event. It can be also used to trigger another event on current widget.
Action returns
void

Action signatures

Trigger event on widget

[gn:act_trigger]|[target,event]
Parameter Description
target target on which the defined event will be triggered
event event from target which will be triggered

Example

@+id/saveNewAsset - widget
gn:act_set - event name

[gn:act_trigger]|[@+id/saveNewAsset,gn:act_set]