GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dialogs.PenStyleComboBox Class Reference

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

Inheritance diagram for dialogs.PenStyleComboBox:
Collaboration diagram for dialogs.PenStyleComboBox:

Public Member Functions

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

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 110 of file psmap/dialogs.py.

Member Function Documentation

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

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

Definition at line 142 of file psmap/dialogs.py.

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

Definition at line 115 of file psmap/dialogs.py.

def 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 158 of file psmap/dialogs.py.

def dialogs.PenStyleComboBox.OnMeasureItemWidth (   self,
  item 
)

Overridden from OwnerDrawnComboBox.

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

Definition at line 163 of file psmap/dialogs.py.


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