Difference between revisions of "Screen.new"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Open a screen of the specified platform dependant type id. For desktop exports, set id to 0. <source l...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 +
'''Class:''' [[Screen]]<br/>
 +
 
=== Description ===
 
=== Description ===
Open a screen of the specified platform dependant type id. For desktop exports, set id to 0.
+
Opens a screen of the specified platform dependant type id.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Screen.new(id,)
+
Screen.new(id)
</source>
+
</syntaxhighlight>
'''id:''' (number) The kind of screen to open, platform dependant ''''''<br/>
+
 
 +
For desktop exports, set id to 0.
 +
 
 +
=== Parameters ===
 +
'''id''': (number) the kind of screen to open, platform dependant<br/>
 +
 
 +
{{Screen}}

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Opens a screen of the specified platform dependant type id.

Screen.new(id)

For desktop exports, set id to 0.

Parameters

id: (number) the kind of screen to open, platform dependant