GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.psmap_dialogs.PenStyleComboBox Class Reference

if self.flag == 'SCALE' and chr(key) in string.digits + ':': event.Skip() return More...

Public Member Functions

def OnDrawItem
def OnDrawBackground
 Overridden from OwnerDrawnComboBox, called for drawing the background area of each item.
def OnMeasureItem
 Overridden from OwnerDrawnComboBox, should return the height needed to display an item in the popup, or -1 for default.
def OnMeasureItemWidth
 Overridden from OwnerDrawnComboBox.

Detailed Description

if self.flag == 'SCALE' and chr(key) in string.digits + ':': event.Skip() return

Combo for selecting line style, taken from wxpython demo

Definition at line 176 of file psmap_dialogs.py.

Member Function Documentation

def gui_modules.psmap_dialogs.PenStyleComboBox.OnDrawBackground (   self,
  dc,
  rect,
  item,
  flags 
)

Overridden from OwnerDrawnComboBox, called for drawing the background area of each item.

Definition at line 208 of file psmap_dialogs.py.

def gui_modules.psmap_dialogs.PenStyleComboBox.OnDrawItem (   self,
  dc,
  rect,
  item,
  flags 
)

Definition at line 181 of file psmap_dialogs.py.

def gui_modules.psmap_dialogs.PenStyleComboBox.OnMeasureItem (   self,
  item 
)

Overridden from OwnerDrawnComboBox, should return the height needed to display an item in the popup, or -1 for default.

Definition at line 224 of file psmap_dialogs.py.

def gui_modules.psmap_dialogs.PenStyleComboBox.OnMeasureItemWidth (   self,
  item 
)

Overridden from OwnerDrawnComboBox.

Callback for item width, or -1 for default/undetermined

Definition at line 229 of file psmap_dialogs.py.


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