Difference between revisions of "Event.new"

From GiderosMobile
(----)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2011.6<br/>
<languages />
+
'''Class:''' [[Event]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Event|Event]]<br/>
+
=== Description ===
=== <translate>Description</translate> ===
+
Creates a new [[Event]] object to be dispatched from an [[EventDispatcher]].
<translate><br />
+
 
Creates a new [[Special:MyLanguage/Event|Event]] object to be dispatched from an [[Special:MyLanguage/EventDispatcher|EventDispatcher]].<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(any), (any) = Event.new(type)
 
(any), (any) = Event.new(type)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''type''': (string) <translate></translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''type''': (string) <br/>
'''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/>
+
 
'''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (any) New [[Event]] object.<br/>
 +
'''Returns''' (any) New [[Event]] object.<br/>
 +
 
 +
----
 +
{{Special:PrefixIndex/Event}}
 +
<br/>

Revision as of 18:45, 2 December 2019

Available since: Gideros 2011.6
Class: Event

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.