Logo Search packages:      
Sourcecode: blender version File versions  Download package

Theme::ThemeUI Class Reference


Detailed Description

The User Interface sub-theme
============================
  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
@type theme: string
@ivar theme: the parent Theme for this object.
@ivar outline: theme rgba var.
@ivar neutral: theme rgba var.
@ivar action: theme rgba var.
@ivar setting: theme rgba var.
@ivar setting1: theme rgba var.
@ivar setting2: theme rgba var.
@ivar num: theme rgba var.
@ivar textfield: theme rgba var.
@ivar textfield_hi: theme rgba var.
@ivar popup: theme rgba var.
@ivar text: theme rgba var.
@ivar text_hi: theme rgba var.
@ivar menu_back: theme rgba var.
@ivar menu_item: theme rgba var.
@ivar menu_hilite: theme rgba var.
@ivar menu_text: theme rgba var.
@ivar menu_text_hi: theme rgba var.
@type drawType: int
@ivar drawType: the draw type (minimal, rounded, etc) in the range [1, 4].
@type iconTheme: string
@ivar iconTheme: the filename (without path) for the icon theme PNG in .blender/icons/

Definition at line 108 of file Theme.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index