wx.dataview.DataViewIconText is used by wx.dataview.DataViewIconTextRenderer for data transfer.
This class can be converted to and from a Variant .
Class Hierarchy¶Inheritance diagram for class
DataViewIconText:
Known Subclasses¶wx.dataview.DataViewCheckIconText
Methods Summary¶ Properties Summary¶ Class API¶Possible constructors:
DataViewIconText(text='', bitmap=BitmapBundle()) -> None DataViewIconText(other) -> None
DataViewIconText is used by DataViewIconTextRenderer for data transfer.
Constructor.
__init__ (self, text=ââ, bitmap=BitmapBundle())
text (string)
bitmap (wx.BitmapBundle)
None
__init__ (self, other)
other (wx.dataview.DataViewIconText)
None
Gets the associated image.
Added in version 4.1/wxWidgets-3.1.6.
Gets the icon.
This function can only return the icon in the size appropriate for the standard 100% DPI
scaling, use GetBitmapBundle
to retrieve image representation suitable for another DPI
scaling value.
Gets the text.
str
Sets the associated image.
This function allows to provide several representations of the same image, so that the most appropriate one for the current DPI
scaling could be used, and so should be preferred to SetIcon
.
bitmap (wx.BitmapBundle)
None
Added in version 4.1/wxWidgets-3.1.6.
Set the icon.
Use SetBitmapBundle
instead to allow specifying different image representations for different DPI
scaling values.
icon (wx.Icon)
None
Set the text.
text (string)
None
See GetBitmapBundle
and SetBitmapBundle
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4