Difference between revisions of "Application:setWindowSize"

From GiderosMobile
m (→‎Description: fixed some html tags)
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2015.04.12<br/>
<languages />
+
'''Class:''' [[Application]]<br/>
'''<translate>Available since</translate>:''' Gideros 2015.04.12
+
 
<br/>
+
=== Description ===
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]
+
Sets desktop window to a specific size.
<br/>
+
<syntaxhighlight lang="lua">
=== <translate>Description</translate> ===
 
<translate>Sets desktop window to a specific size.</translate>
 
<source lang="lua">
 
 
application:setWindowSize(width,height)
 
application:setWindowSize(width,height)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''width''': (number) <translate>new width of the window</translate>
+
=== Parameters ===
<br/>
+
'''width''': (number) new width of the window<br/>
'''height''': (number) <translate>new height of the window</translate>
+
'''height''': (number) new height of the window<br/>
<br/>
+
 
<br/>
+
{{Application}}

Latest revision as of 17:21, 12 July 2023

Available since: Gideros 2015.04.12
Class: Application

Description

Sets desktop window to a specific size.

application:setWindowSize(width,height)

Parameters

width: (number) new width of the window
height: (number) new height of the window