Adwaita icon theme for wxPython 🐍
Project description
Adwaita icon theme for wxPython 🐍
This package provides a wxPython wxArtProvider class with icons from the Adwaita Icon Theme.
Docs |
|
|---|---|
Tests |
|
PyPI |
|
Activity |
|
QA |
|
Other |
Installation
wx_icons_adwaita can be installed from PyPI.
To install with pip:
$ python -m pip install wx_icons_adwaita
Usage
To use wx_icons_adwaita in your application:
# this package
from wx_icons_adwaita import wxAdwaitaIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxAdwaitaIconTheme())
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wx_icons_adwaita-0.3.0.tar.gz.
File metadata
- Download URL: wx_icons_adwaita-0.3.0.tar.gz
- Upload date:
- Size: 40.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74ae97ad86b7ede7b9f1b03e9e9cb59496904140b920bc46f75a898f5e42ef69
|
|
| MD5 |
dfd2c7c43129667da2fa0acfca62e716
|
|
| BLAKE2b-256 |
4f5f3edc6f43d05fc2d7e3a581d8ff01022fdba9ece53c64e82c22d6a1dc74cf
|
File details
Details for the file wx_icons_adwaita-0.3.0-py3-none-any.whl.
File metadata
- Download URL: wx_icons_adwaita-0.3.0-py3-none-any.whl
- Upload date:
- Size: 42.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b7350f46b050bd720cd465733c6d04c0c17522309b51b61e411eea861e476a
|
|
| MD5 |
1a40babb183d4d234a6de5bcb5661fac
|
|
| BLAKE2b-256 |
a5e1da112ade0c0c3f5de897bff1115b89451cf941d205c88803bb9d107e0b5e
|