Difference between revisions of "Screen.new"

From GiderosMobile
(removed language stuff)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Opens a screen of the specified platform dependant type id.
 
Opens a screen of the specified platform dependant type id.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Screen.new(id)
 
Screen.new(id)
</source>
+
</syntaxhighlight>
  
 
For desktop exports, set id to 0.
 
For desktop exports, set id to 0.

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