Difference between revisions of "Application:setWindowSize"
From GiderosMobile
m (→Description: fixed some html tags) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | '''<translate>Available since</translate>:''' Gideros 2015.04.12<br/> | + | '''<translate>Available since</translate>:''' Gideros 2015.04.12 |
− | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | + | <br/> |
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]] | ||
+ | <br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate>Sets desktop window to a specific size</translate> | + | <translate>Sets desktop window to a specific size.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
− | + | application:setWindowSize(width,height) | |
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
− | '''width''': (number) <translate>new width of the window</translate> <br/> | + | '''width''': (number) <translate>new width of the window</translate> |
− | '''height''': (number) <translate>new height of the window</translate> <br/> | + | <br/> |
+ | '''height''': (number) <translate>new height of the window</translate> | ||
+ | <br/> | ||
+ | <br/> |
Revision as of 01:29, 13 June 2019
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