GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
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. 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... | |
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.
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.