.. 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=PG_LABEL, name=PG_LABEL, labels=[], values=[],
value="")
EditEnumProperty(label, name, choices, value="")
EnumProperty with string value and writable combo box editor.
.. method:: __init__(self, *args, **kw)
|overload| Overloaded Implementations:
:html:`
`
**__init__** `(self, label=PG_LABEL, name=PG_LABEL, labels=[], values=[], value="")`
: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
:html:`
`
**__init__** `(self, label, name, choices, value="")`
:param `label`:
:type `label`: string
:param `name`:
:type `name`: string
:param `choices`:
:type `choices`: wx.propgrid.PGChoices
:param `value`:
:type `value`: string
:html:`
`