A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.dataview.DataViewIconText.html below:

wx.dataview.DataViewIconText — wxPython Phoenix 4.2.4a1 documentation

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¶

Inheritance diagram for class

DataViewIconText

:

Known Subclasses¶

wx.dataview.DataViewCheckIconText

Methods Summary¶ Properties Summary¶ Class API¶
class wx.dataview.DataViewIconText(Object)¶

Possible constructors:

DataViewIconText(text='', bitmap=BitmapBundle()) -> None

DataViewIconText(other) -> None

DataViewIconText is used by DataViewIconTextRenderer for data transfer.


Methods¶
__init__(self, *args, **kw)¶

Constructor.

Overloaded Implementations:

__init__ (self, text=’’, bitmap=BitmapBundle())

Parameters:
Return type:

None

__init__ (self, other)

Parameters:

other (wx.dataview.DataViewIconText)

Return type:

None



GetBitmapBundle(self)¶

Gets the associated image.

Return type:

BitmapBundle

Added in version 4.1/wxWidgets-3.1.6.


GetIcon(self)¶

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.

Return type:

Icon


GetText(self)¶

Gets the text.

Return type:

str


SetBitmapBundle(self, bitmap)¶

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 .

Parameters:

bitmap (wx.BitmapBundle)

Return type:

None

Added in version 4.1/wxWidgets-3.1.6.


SetIcon(self, icon)¶

Set the icon.

Use SetBitmapBundle instead to allow specifying different image representations for different DPI scaling values.

Parameters:

icon (wx.Icon)

Return type:

None


SetText(self, text)¶

Set the text.

Parameters:

text (string)

Return type:

None


Properties¶
BitmapBundle¶

See GetBitmapBundle and SetBitmapBundle


Icon¶

See GetIcon and SetIcon


Text¶

See GetText and SetText


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