DxGUI/dxGetTheme: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pageclass class="client" subcaption="GUI Class method"></pageclass> __NOTOC__ You can use this function to get theme by name. ==Syntax== <syntaxhighlight lang="lua"> dxTheme dxGetTheme ( the...") |
(No difference)
|
Latest revision as of 20:11, 25 May 2012
You can use this function to get theme by name.
Syntax
dxTheme dxGetTheme ( themeName )
Required Arguments
- themeName: A name of the theme in themes.xml
Returns
Returns a dxTheme if it is exists, false otherwise.
Example
This example creates a window based on orange theme.
local theme = dxGetTheme("Orange") dxCreateWindow(....,theme)