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).
wx.propgrid.
EditEnumProperty
(EnumProperty)¶Possible constructors:
EditEnumProperty(label: str=PG_LABEL, name: str=PG_LABEL, labels:
List[str]=[], values: List[int]=[], value: str='') -> None
EditEnumProperty(label : str, name : str, choices : PGChoices, value:
str='') -> None
EnumProperty with string value and writable combo box editor.
__init__
(self, *args, **kw)¶__init__ (self, label: str=PG_LABEL, name: str=PG_LABEL, labels: List[str]=[], values: List[int]=[], value: str=’’)
label (string) –
name (string) –
labels (list of strings) –
values (list of integers) –
value (string) –
None
__init__ (self, label : str, name : str, choices : PGChoices, value: str=’’)
label (string) –
name (string) –
choices (wx.propgrid.PGChoices) –
value (string) –
None