Screen.new: Difference between revisions

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

Latest revision as of 13: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