GRASS Programmer's Manual
6.4.2(2012)
|
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. |
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.
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.