Difference between revisions of "Application:setOrientation"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the orientation of the application. Accepted values are:<br /> <br /> <ul><br /> &lt...")
 
Line 13: Line 13:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Application:setOrientation(orientation,)
+
Application:setOrientation(orientation)
 
</source>
 
</source>
'''orientation:''' (string)  ''''''<br/>
+
'''orientation''': (string)  ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the orientation of the application. Accepted values are:

<ul>
<li>Application.PORTRAIT = "portrait"</li>
<li>Application.PORTRAIT_UPSIDE_DOWN = "portraitUpsideDown"</li>
<li>Application.LANDSCAPE_LEFT = "landscapeLeft"</li>
<li>Application.LANDSCAPE_RIGHT = "landscapeRight"</li>
</ul>

 Application:setOrientation(orientation)

'orientation: (string) '