API Reference¶
-
class
wxHicolorIconTheme
[source]¶ Bases:
ArtProvider
wx.ArtProvider
subclass providing the Hicolor Icon Theme.Methods:
CreateBitmap
(id, client, size)Returns the requested resource.
icon2bitmap
(icon, size)-
CreateBitmap
(id, client, size)[source]¶ Returns the requested resource.
- Parameters
id (
Any
) – Unique identifier of the bitmap.client (
Any
) – Identifier of the client (i.e. who is asking for the bitmap). This only serves as a hint.size (
Union
[Tuple
[int
],Size
]) – Preferred size of the bitmap. The function may return a bitmap of different dimensions; it will be automatically rescaled to meet client’s request.
- Return type
-