Event.new: Difference between revisions
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) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
Revision as of 13: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.