Difference between revisions of "Application:setWindowSize"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.12<br/> === Description === Sets desktop window to a specific size <source lang="lua"> = Application:setWindowSize(widthheight...")
 
m
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
 
 
'''Available since:''' Gideros 2015.04.12<br/>
 
'''Available since:''' Gideros 2015.04.12<br/>
 +
'''Class:''' [[Application]]<br/>
 +
 
=== Description ===
 
=== Description ===
Sets desktop window to a specific size
+
Sets desktop window to a specific size.
 
<source lang="lua">
 
<source lang="lua">
= Application:setWindowSize(widthheight,)
+
application:setWindowSize(width,height)
 
</source>
 
</source>
'''width:''' (number) new width of the window ''''''<br/>
+
 
'''height:''' (number) new height of the window ''''''<br/>
+
=== Parameters ===
 +
'''width''': (number) new width of the window<br/>
 +
'''height''': (number) new height of the window<br/>
 +
 
 +
{{Application}}

Revision as of 01:27, 13 June 2021

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