win.desktopTheme - WIN

Class desktopTheme
Inherits from __classBase.

desktopTheme is the class definition object for the desktop theme object.

An object local to the win API named default.defaultTheme is instantiated from desktopTheme with default values, and used if a desktop theme is required but is inaccessible from the calling object (typically via a window object when no parent has ever been set).

Properties

double_click Time of os.clock () to regard a second click as a double click.
text_scale Initial text scale for a monitor desktop.
keyboard_height The lines from the bottom of a monitor to display the top line of the on screen keyboard.
close_btn Single character string for the character displayed on a close button window.
color Theme color table.
color.desktop_back Background color of desktop window (never visible).
color.wnd_text Window text color.
color.wnd_back Window blurred background color.
color.wnd_focus Window focused background color.
color.frame_text Application frame text color.
color.frame_back Application frame background color.
color.popup_text Popup frame text color.
color.popup_back Popup frame background color.
color.button_text Button text color.
color.button_back Button blurred background color.
color.button_focus Button focused background color.
color.input_text Input text color.
color.input_back Input blurred background color.
color.input_focus Input focused background color.
color.input_error Input error background color.
color.input_banner Input banner text color.
color.selected_text Selected item text color.
color.selected_back Selected item background color.
color.scroll_text Scroll bar button arrow color.
color.scroll_back Scroll bar button button background and thumb color.
color.scroll_track Scroll bar track color.
color.check_text Check marker text color.
color.check_back Check marker blurred background color.
color.check_focus Check marker focused background color.
color.task_text Task bar text color.
color.task_back Task bar background color.
color.home_text Home page text color.
color.home_back Home page background color.
color.home_item_text Home page item text color.
color.home_item_back Home page item background color.
color.home_item_selected_text Home page selected item text color.
color.home_item_selected_back Home page selected item background color.
color.title_text Frame title bar text color.
color.title_back Frame title bar background color.
color.close_text Close button text color.
color.close_back Close button blurred background color.
color.close_focus Close button focused background color.
color.kb_text Keyboard text color.
color.kb_back Keyboard background color.
color.kb_key Keyboard standard key background color.
color.kb_cmd Keyboard command key background color.
color.kb_cancel Keyboard cancel key background color.
color.kb_toggle Keyboard toggled key background color.
color.menu_text Menu text color.
color.menu_back Menu background color.
color.menu_selected_text Menu selected item text color.
color.menu_selected_back Menu selected item background color.

Methods

See also API Reference, WIN.

win.desktopTheme:constructor

theme desktopTheme:constructor ()

Constructor for desktopTheme object.

Parameters
none


Returns
theme desktopTheme The instantiated theme object.

Remarks


top


See also API Reference, WIN.