.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.propgrid.EditEnumProperty:
==========================================================================================================================================
|phoenix_title| **wx.propgrid.EditEnumProperty**
==========================================================================================================================================
:ref:`wx.propgrid.EnumProperty` with `String` value and writable combo box editor.
.. note::
Uses int value, similar to :ref:`wx.propgrid.EnumProperty`, unless text entered by user is not in choices (in which case string value is used).
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
EditEnumProperty:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.propgrid.EditEnumProperty.__init__`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: 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.
.. method:: __init__(self, *args, **kw)
|overload| **Overloaded Implementations:**
:html:`
`
**__init__** `(self, label: str=PG_LABEL, name: str=PG_LABEL, labels: List[str]=[], values: List[int]=[], value: str='')`
:param `label`:
:type `label`: string
:param `name`:
:type `name`: string
:param `labels`:
:type `labels`: list of strings
:param `values`:
:type `values`: list of integers
:param `value`:
:type `value`: string
:rtype: `None`
:html:`
`
**__init__** `(self, label : str, name : str, choices : PGChoices, value: str='')`
:param `label`:
:type `label`: string
:param `name`:
:type `name`: string
:param `choices`:
:type `choices`: wx.propgrid.PGChoices
:param `value`:
:type `value`: string
:rtype: `None`
:html:`
`