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:
str=DataViewIconTextRenderer.GetDefaultType(), mode:
DataViewCellMode=DATAVIEW_CELL_INERT, align: int=DVR_DEFAULT_ALIGNMENT)
-> None
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: str=DataViewIconTextRenderer.GetDefaultType(), mode: DataViewCellMode=DATAVIEW_CELL_INERT, align: int=DVR_DEFAULT_ALIGNMENT)¶The constructor.
varianttype (string) –
mode (DataViewCellMode) –
align (int) –
None
GetDefaultType()¶Returns the Variant type used with this renderer.
str
New in version 4.1/wxWidgets-3.1.0.