Home | Trees | Index | Help |
|
---|
Module Theme :: Class ThemeUI |
|
This can be accessed with theme.get(t), where t can be 'ui' or -1. The available variables follow the internal (C coded) ThemeUI struct in Blender. Most of them represent rgba (red, green, blue, alpha) colors, with each component in the range [0, 255]. There is more than one way to access them.
Examples:print outline.R outline.r = 180 # it's case insensitive outline[0] = 94 # 0 for red, 1 for green, ... outline = [200, 200, 200, 255] # setting all components at once
Instance Variable Summary | |
---|---|
action : theme rgba var. | |
int | drawType : the draw type (minimal, rounded, etc) in the range [1, 4]. |
string | iconTheme : the filename (without path) for the icon theme PNG in
.blender/icons/ |
menu_back : theme rgba var. | |
menu_hilite : theme rgba var. | |
menu_item : theme rgba var. | |
menu_text : theme rgba var. | |
menu_text_hi : theme rgba var. | |
neutral : theme rgba var. | |
num : theme rgba var. | |
outline : theme rgba var. | |
popup : theme rgba var. | |
setting : theme rgba var. | |
setting1 : theme rgba var. | |
setting2 : theme rgba var. | |
text : theme rgba var. | |
text_hi : theme rgba var. | |
textfield : theme rgba var. | |
textfield_hi : theme rgba var. | |
string | theme : the parent Theme for this object. |
Instance Variable Details |
---|
actiontheme rgba var. |
drawTypethe draw type (minimal, rounded, etc) in the range [1, 4].
|
iconThemethe filename (without path) for the icon theme PNG in .blender/icons/
|
menu_backtheme rgba var. |
menu_hilitetheme rgba var. |
menu_itemtheme rgba var. |
menu_texttheme rgba var. |
menu_text_hitheme rgba var. |
neutraltheme rgba var. |
numtheme rgba var. |
outlinetheme rgba var. |
popuptheme rgba var. |
settingtheme rgba var. |
setting1theme rgba var. |
setting2theme rgba var. |
texttheme rgba var. |
text_hitheme rgba var. |
textfieldtheme rgba var. |
textfield_hitheme rgba var. |
themethe parent Theme for this object.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:20 2007 | http://epydoc.sf.net |