.. 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() -> None PGChoiceEntry(other : PGChoiceEntry) -> None PGChoiceEntry(label : str, value: int=PG_INVALID_VALUE) -> None Data of a single PGChoices choice. .. method:: __init__(self, *args, **kw) |overload| **Overloaded Implementations:** :html:`

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

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

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

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