Application:setBackgroundColor: Difference between revisions
From GiderosMobile
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6 | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | <br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]] | |||
<br/> | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate | <translate> | ||
Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff). | Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff). | ||
</translate> | |||
<source lang="lua"> | <source lang="lua"> | ||
application:setBackgroundColor(color) | |||
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''color''': (number) <translate>background color in hexadecimal format</translate> <br/> | '''color''': (number) <translate>background color in hexadecimal format.</translate> | ||
<br/> | |||
<br/> | |||
Revision as of 23:43, 12 June 2019
Available since: Gideros 2011.6
Class: Application
Description
Sets the background color (or clear color) of the application in hexadecimal format. Default background color is white (0xffffff).
application:setBackgroundColor(color)
Parameters
color: (number) background color in hexadecimal format.