Difference between revisions of "Event.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(any), (any) = Event.new(type)
 
(any), (any) = Event.new(type)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 14:27, 13 July 2023

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.