Phoenix Logo

phoenix_title 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 .


class_hierarchy Class Hierarchy

Inheritance diagram for class DataViewIconText:


method_summary Methods Summary

__init__ Constructor.
GetIcon Gets the icon.
GetText Gets the text.
SetIcon Set the icon.
SetText Set the text.

property_summary Properties Summary

Icon See GetIcon and SetIcon
Text See GetText and SetText

api Class API



class wx.dataview.DataViewIconText(Object)

Possible constructors:

DataViewIconText(text="", icon=NullIcon)

DataViewIconText(other)

DataViewIconText is used by DataViewIconTextRenderer for data transfer.


Methods



__init__(self, *args, **kw)

Constructor.

overload Overloaded Implementations:



__init__ (self, text=””, icon=NullIcon)

Parameters:
  • text (string) –
  • icon (wx.Icon) –



__init__ (self, other)

Parameters:other (wx.dataview.DataViewIconText) –





GetIcon(self)

Gets the icon.

Return type:Icon


GetText(self)

Gets the text.

Return type:string


SetIcon(self, icon)

Set the icon.

Parameters:icon (wx.Icon) –


SetText(self, text)

Set the text.

Parameters:text (string) –

Properties



Icon

See GetIcon and SetIcon



Text

See GetText and SetText