wx.dataview.DataViewIconText¶wx.dataview.DataViewIconText is used by wx.dataview.DataViewIconTextRenderer for data transfer.
This class can be converted to and from a Variant .
Methods Summary¶__init__ |
Constructor. |
GetIcon |
Gets the icon. |
GetText |
Gets the text. |
SetIcon |
Set the icon. |
SetText |
Set the text. |
Class API¶wx.dataview.DataViewIconText(Object)¶Possible constructors:
DataViewIconText(text="", icon=NullIcon)
DataViewIconText(other)
DataViewIconText is used by DataViewIconTextRenderer for data transfer.
__init__(self, *args, **kw)¶Constructor.
__init__ (self, text=””, icon=NullIcon)
| Parameters: |
|
|---|
__init__ (self, other)
| Parameters: | other (wx.dataview.DataViewIconText) – |
|---|
GetText(self)¶Gets the text.
| Return type: | string |
|---|
SetText(self, text)¶Set the text.
| Parameters: | text (string) – |
|---|