wx.propgrid.EditEnumProperty¶
wx.propgrid.EnumProperty with String value and writable combo box editor.
Note
Uses int value, similar to wx.propgrid.EnumProperty, unless text entered by user is not in choices (in which case string value is used).
Class Hierarchy¶
Methods Summary¶
Class API¶
- class wx.propgrid.EditEnumProperty(EnumProperty)¶
Possible constructors:
EditEnumProperty(label=PG_LABEL, name=PG_LABEL, labels=[], values=[], value='') -> None EditEnumProperty(label, name, choices, value='') -> None
EnumProperty with string value and writable combo box editor.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self, label=PG_LABEL, name=PG_LABEL, labels=[], values=[], value=’’)
- Parameters:
label (string)
name (string)
labels (list of strings)
values (list of integers)
value (string)
- Return type:
None
__init__ (self, label, name, choices, value=’’)
- Parameters:
label (string)
name (string)
choices (wx.propgrid.PGChoices)
value (string)
- Return type:
None