Difference between revisions of "Event.new"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
Creates a new `Event` object to be dispatched from an `EventDispatcher`.<br />
+
Creates a new [[[Event` object to be dispatched from an `EventDispatcher]]].<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(any), (any) = Event.new(type)
 
(any), (any) = Event.new(type)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''type''': (string) <br/>
+
'''type''': (string) <translate></translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (any) New `Event` object.<br/>
+
'''Returns''' (any) <translate>New [[[Event]]] object.</translate><br/>
'''Returns''' (any) New `Event` object.<br/>
+
'''Returns''' (any) <translate>New [[[Event]]] object.</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2011.6

Description


Creates a new [[[Event` object to be dispatched from an `EventDispatcher]]].

(any), (any) = Event.new(type)

Parameters

type: (string)

Return values

Returns (any) New [[[Event]]] object.
Returns (any) New [[[Event]]] object.