.. 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.PGChoiceEntry: ========================================================================================================================================== |phoenix_title| **wx.propgrid.PGChoiceEntry** ========================================================================================================================================== Data of a single :ref:`wx.propgrid.PGChoices` choice. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class PGChoiceEntry:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.propgrid.PGChoiceEntry.__init__` :meth:`~wx.propgrid.PGChoiceEntry.GetValue` :meth:`~wx.propgrid.PGChoiceEntry.SetValue` ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.propgrid.PGChoiceEntry.Value` See :meth:`~wx.propgrid.PGChoiceEntry.GetValue` and :meth:`~wx.propgrid.PGChoiceEntry.SetValue` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.propgrid.PGChoiceEntry(PGCell) **Possible constructors**:: PGChoiceEntry() PGChoiceEntry(other) PGChoiceEntry(label, value=PG_INVALID_VALUE) Data of a single PGChoices choice. .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self)` :html:`

` **__init__** `(self, other)` :param `other`: :type `other`: wx.propgrid.PGChoiceEntry :html:`

` **__init__** `(self, label, value=PG_INVALID_VALUE)` :param `label`: :type `label`: string :param `value`: :type `value`: int :html:`

` .. method:: GetValue(self) :rtype: `int` .. method:: SetValue(self, value) :param `value`: :type `value`: int .. attribute:: Value See :meth:`~wx.propgrid.PGChoiceEntry.GetValue` and :meth:`~wx.propgrid.PGChoiceEntry.SetValue`