Python: module pyui.greenTheme

pyui.greenTheme | index c:\perforce\projects\pyui\pyui\greentheme.py

`A green a black line theme.`

Modules
`` |  |
pyui |  |  |

Classes
`` |  | pyui.theme.dataTheme greenTheme
class greenTheme(pyui.theme.dataTheme)
`` |
| __init__(self, renderer, w, h) draw3DRect(self, rect, color, reverse) `Draw a 3D rectangle to the screen or a surface. Defaults to the screen. (internal)` drawBack1(self, rect) from pyui.theme.dataTheme drawBack2(self, rect) from pyui.theme.dataTheme drawBack3(self, rect) from pyui.theme.dataTheme drawButton(self, rect, title, hasFocus, status) from pyui.theme.dataTheme drawEdit(self, rect, text, hasFocus, caretPos, selectPos) from pyui.theme.dataTheme drawFrame(self, rect, options) `Draw frame objects. Frame objects are complex multi-part widgets. In order to allow the theme some flexibility of how to position and draw various interactive frame elements, the drawFrame() method returns a list of hit regions. Each element is a tuple consisting of a (region Id, rect). Region IDs are defined in locals.py. The hit list is in top to bottom order for easier iteration.` drawGradient(self, rect, vertical, c1, c2) drawImage(self, rect, image) from pyui.theme.dataTheme drawImageButton(self, rect, filename, title, hasFocus, status) from pyui.theme.dataTheme drawLabel(self, rect, title, color) from pyui.theme.dataTheme drawListBoxItem(self, rect, title, selected, color) from pyui.theme.dataTheme drawMenu(self, rect) from pyui.theme.dataTheme drawMenuBar(self, rect) from pyui.theme.dataTheme drawMenuBarItem(self, rect, title, selected) from pyui.theme.dataTheme drawMenuItem(self, rect, title, selected, icon=None) from pyui.theme.dataTheme drawOutlineRect(self, rect, color, thick=1) from pyui.theme.dataTheme drawRect(self, rect, color) drawScrollBar(self, rect) from pyui.theme.dataTheme drawScrollButtonDown(self, rect) from pyui.theme.dataTheme drawScrollButtonUp(self, rect) from pyui.theme.dataTheme drawSplitter(self, rect) from pyui.theme.dataTheme drawTabHeader(self, rect) from pyui.theme.dataTheme drawTabItem(self, rect, title, active) from pyui.theme.dataTheme drawText(self, text, position, color) getBgColor(self) from pyui.theme.dataTheme getColorKey(self) from pyui.theme.dataTheme getFgColor(self) from pyui.theme.dataTheme getFrameBorderBottom(self) from pyui.theme.dataTheme getFrameBorderLeft(self) from pyui.theme.dataTheme getFrameBorderRight(self) from pyui.theme.dataTheme getFrameBorderTop(self) from pyui.theme.dataTheme getTabsHeight(self) from pyui.theme.dataTheme getThemeConstant(self, constantID) from pyui.theme.dataTheme setArrowCursor(self) from pyui.theme.dataTheme setButtonCursor(self) from pyui.theme.dataTheme setResizeCursor(self) from pyui.theme.dataTheme setWaitCursor(self) from pyui.theme.dataTheme shadeBorder(self, rect, d, reverse) from pyui.theme.dataTheme

Data
`` |  | CENTER = 5 CHAR = 1100 CLICKED = 1200 CLIP = 5 DIALOGCLOSED = 1202 EAST = 2 GRADIENT = 1 HIT_FRAME_CLOSE = 'FRAME_CLOSE' HIT_FRAME_MOVE = 'FRAME_MOVE' HIT_FRAME_RESIZE_BOTTOM = 'FRAME_RESIZE_BOTTOM' HIT_FRAME_RESIZE_BOTTOM_RIGHT = 'FRAME_RESIZE_BOTTOM_RIGHT' HIT_FRAME_RESIZE_RIGHT = 'FRAME_RESIZE_RIGHT' IMAGE = 2 KEYDOWN = 1101 KEYUP = 1102 K_ALT = 274 K_BACKSPACE = 8 K_CONTROL = 273 K_DELETE = 302 K_DOWN = 296 K_END = 291 K_ESCAPE = 27 K_F1 = 368 K_F10 = 377 K_F11 = 378 K_F12 = 379 K_F2 = 369 K_F3 = 370 K_F4 = 371 K_F5 = 372 K_F6 = 373 K_F7 = 374 K_F8 = 375 K_F9 = 376 K_HOME = 292 K_INSERT = 301 K_LEFT = 293 K_PAGEDOWN = 290 K_PAGEUP = 289 K_RETURN = 13 K_RIGHT = 295 K_SHIFT = 272 K_SPACE = 32 K_TAB = 9 K_UP = 294 LINE = 6 LIST_SELECTED = 1203 LMOUSEBUTTONDOWN = 1001 LMOUSEBUTTONUP = 1002 MENU_EXIT = 1206 MMOUSEBUTTONDOWN = 1005 MMOUSEBUTTONUP = 1006 MOD_ALT = 768 MOD_CONTROL = 192 MOD_LALT = 256 MOD_LCONTROL = 64 MOD_LSHIFT = 1 MOD_NONE = 0 MOD_RALT = 512 MOD_RCONTROL = 128 MOD_RSHIFT = 2 MOD_SHIFT = 3 MOUSEMOVE = 1000 MOUSEWHEEL = 1007 NONE = -1 NORTH = 3 QUIT = 1205 RECT = 0 RMOUSEBUTTONDOWN = 1003 RMOUSEBUTTONUP = 1004 SCROLLPOS = 1201 SOUTH = 4 TEXT = 3 TEXT_HEIGHT = 16 THEME_SCREEN_HEIGHT = 'SCREENHEIGHT' THEME_SCREEN_WIDTH = 'SCREENWIDTH' TREENODE_SELECTED = 1204 USEREVENT = 1025 VIEW = 4 WEST = 1 __file__ = r'.\pyui\greenTheme.pyc' __name__ = 'pyui.greenTheme'