Suru icon theme for wxPython 🐍
This package provides a wxPython wxArtProvider class with icons from the Suru Icon Theme.
Docs |
|
|---|---|
Tests |
|
PyPI |
|
Activity |
|
QA |
|
Other |
Installation
wx_icons_suru can be installed from PyPI.
To install with pip:
$ python -m pip install wx_icons_suru
Usage
To use wx_icons_suru in your application:
# this package
from wx_icons_suru import wxSuruIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxSuruIconTheme())
self.frame = TestFrame(None, wx.ID_ANY)
self.SetTopWindow(self.frame)
self.frame.Show()
return True
And then the icons can be accessed through wx.ArtProvider:
wx.ArtProvider.GetBitmap("document-new", wx.ART_OTHER, wx.Size(48, 48))
Any FreeDesktop Icon Theme Specification name can be used.
Currently the Client ID is not used, so just pass wx.ART_OTHER.
Release files for wx-icons-suru 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wx_icons_suru-0.2.0.tar.gz | 12.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wx_icons_suru-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 MB
Release files / wx_icons_suru-0.2.0.tar.gz
| Download URL | wx_icons_suru-0.2.0.tar.gz |
|---|---|
| Size | 12.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78139a61fc8fb31d69cc80afaf13f3256618d5be28c60df46ea33f266a5eb303
|
|
BLAKE2b-256 checksum How to use checksums |
bb19c0a702b487ed8875e27d417f842c32f57f3dd0f565b7fda1901215b86111
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / wx_icons_suru-0.2.0-py3-none-any.whl
| Download URL | wx_icons_suru-0.2.0-py3-none-any.whl |
|---|---|
| Size | 13.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1f1c2951ce5b3dc8af9439be0f433fb762c6ce92907f9dbabc67ddd8df8be9a
|
|
BLAKE2b-256 checksum How to use checksums |
4085ba429cf9306fbd7532b1e82dda6160f4495634a52e12abf6cb193f745410
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|