Difference between revisions of "Application:set"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2015.7<br/> '''<translate>Class</translate>:''' Application<br...")
 
Line 11: Line 11:
 
</source>
 
</source>
 
<translate><br />
 
<translate><br />
 +
<br/>
 
Get list of parameters that can be set with:
 
Get list of parameters that can be set with:
 
</translate>
 
</translate>
 
<source lang="lua">
 
<source lang="lua">
 
print(application:set("help"))
 
print(application:set("help"))
 +
</source>
 +
<translate><br />
 +
Get help for individual settings with:
 +
</translate>
 +
<source lang="lua">
 +
print(application:set("cursor","help"))
 
</source>
 
</source>

Revision as of 01:04, 20 October 2018


Available since: Gideros 2015.7
Class: Application

Description


Sets the state of the desktop setting provided as string parameter.

application:set("windowTitle", "My lovely window title")



Get list of parameters that can be set with:

print(application:set("help"))


Get help for individual settings with:

print(application:set("cursor","help"))