wx.dataview.DataViewIconTextRenderer¶The wx.dataview.DataViewIconTextRenderer class is used to display text with a small icon next to it as it is typically done in a file manager.
This classes uses the wx.dataview.DataViewIconText helper class to store its data. wx.dataview.DataViewIconText can be converted to and from a Variant using the left shift operator.
Core ^^<>< =’’>:</>&;&;< =’’>\ </></>
See also
wx.dataview.DataViewCheckIconTextRenderer
Class Hierarchy¶
Inheritance diagram for class DataViewIconTextRenderer:
Methods Summary¶The constructor. |
|
Returns the Variant type used with this renderer. |
Class API¶wx.dataview.DataViewIconTextRenderer(DataViewRenderer)¶Possible constructors:
DataViewIconTextRenderer(varianttype=DataViewIconTextRenderer.GetDefault
Type(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)
The DataViewIconTextRenderer class is used to display text with a small icon next to it as it is typically done in a file manager.
__init__(self, varianttype=DataViewIconTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)¶The constructor.
varianttype (string) –
mode (DataViewCellMode) –
align (int) –
GetDefaultType()¶Returns the Variant type used with this renderer.
string
New in version 4.1/wxWidgets-3.1.0.