Difference between revisions of "Screen:setContent"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Specify which sprite should be displayed by this Screen <source lang="lua"> = Screen:setContent(conten...")
 
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 ===
Specify which sprite should be displayed by this Screen
+
Specifies which sprite should be displayed by the screen.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Screen:setContent(content,)
+
Screen:setContent(content)
</source>
+
</syntaxhighlight>
'''content:''' (sprite) The sprite hierarchy to be displayed by this Screen ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''content''': (sprite) the sprite hierarchy to be displayed by the screen<br/>
 +
 
 +
{{Screen}}

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Specifies which sprite should be displayed by the screen.

Screen:setContent(content)

Parameters

content: (sprite) the sprite hierarchy to be displayed by the screen