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
Class Hierarchy¶
Methods Summary¶
The constructor. |
|
Returns the Variant type used with this renderer. |
Class API¶
- class wx.dataview.DataViewIconTextRenderer(DataViewRenderer)¶
Possible constructors:
DataViewIconTextRenderer(varianttype=DataViewIconTextRenderer.GetDefault Type(), mode=DATAVIEW_CELL_INERT, align=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.
Methods¶
- __init__(self, varianttype=DataViewIconTextRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT)¶
The constructor.
- Parameters:
varianttype (string)
mode (DataViewCellMode)
align (int)
- Return type:
None
- static GetDefaultType()¶
Returns the Variant type used with this renderer.
- Return type:
str
Added in version 4.1/wxWidgets-3.1.0.