.. 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.PGPropArgCls:
==========================================================================================================================================
|phoenix_title| **wx.propgrid.PGPropArgCls**
==========================================================================================================================================
|phoenix_title| PGPropArgCls
============================
Most property grid functions have this type as their argument, as it can convey a property by either a pointer or name.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
PGPropArgCls:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.propgrid.PGPropArgCls.__init__`
:meth:`~wx.propgrid.PGPropArgCls.GetName`
:meth:`~wx.propgrid.PGPropArgCls.GetPtr`
:meth:`~wx.propgrid.PGPropArgCls.GetPtr0`
:meth:`~wx.propgrid.PGPropArgCls.HasName`
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.propgrid.PGPropArgCls.Name` See :meth:`~wx.propgrid.PGPropArgCls.GetName`
:attr:`~wx.propgrid.PGPropArgCls.Ptr` See :meth:`~wx.propgrid.PGPropArgCls.GetPtr`
:attr:`~wx.propgrid.PGPropArgCls.Ptr0` See :meth:`~wx.propgrid.PGPropArgCls.GetPtr0`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.propgrid.PGPropArgCls(object)
**Possible constructors**::
PGPropArgCls(property : PGProperty) -> None
PGPropArgCls(str: str) -> None
PGPropArgCls(id : PGPropArgCls) -> None
.. method:: __init__(self, *args, **kw)
|overload| **Overloaded Implementations:**
:html:`
`
**__init__** `(self, property : PGProperty)`
:param `property`:
:type `property`: wx.propgrid.PGProperty
:rtype: `None`
:html:`
`
**__init__** `(self, str: str)`
Creates a PGPropArgCls from a string.
:rtype: `None`
:html:`
`
**__init__** `(self, id : PGPropArgCls)`
:param `id`:
:type `id`: wx.propgrid.PGPropArgCls
:rtype: `None`
:html:`
`
.. method:: GetName(self)
:rtype: `str`
.. method:: GetPtr(self, *args, **kw)
|overload| **Overloaded Implementations:**
:html:`
`
**GetPtr** `(self)`
:rtype: :ref:`wx.propgrid.PGProperty`
:html:`
`
**GetPtr** `(self, iface : PropertyGridInterface)`
:param `iface`:
:type `iface`: wx.propgrid.PropertyGridInterface
:rtype: :ref:`wx.propgrid.PGProperty`
:html:`
`
.. method:: GetPtr0(self)
:rtype: :ref:`wx.propgrid.PGProperty`
.. method:: HasName(self)
:rtype: `bool`
.. attribute:: Name
See :meth:`~wx.propgrid.PGPropArgCls.GetName`
.. attribute:: Ptr
See :meth:`~wx.propgrid.PGPropArgCls.GetPtr`
.. attribute:: Ptr0
See :meth:`~wx.propgrid.PGPropArgCls.GetPtr0`