Difference between revisions of "Screen:setContent"

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

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