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 |
|
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wx_icons_adwaita-0.1.2.tar.gz
(40.4 MB
view details)
Built Distribution
File details
Details for the file wx_icons_adwaita-0.1.2.tar.gz
.
File metadata
- Download URL: wx_icons_adwaita-0.1.2.tar.gz
- Upload date:
- Size: 40.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8640980f6e9bb58b872e619c933ce433611103d21ed66685d1c8488391b2ab20 |
|
MD5 | 6cc324d130ac86ba9ff6f59d0bc8f05b |
|
BLAKE2b-256 | 45be7dd508f72802144900707708d1ea103d135e675b33b21aa8fb1433e666cf |
File details
Details for the file wx_icons_adwaita-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: wx_icons_adwaita-0.1.2-py3-none-any.whl
- Upload date:
- Size: 42.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3886f0dbe66c9ab5c859363c61b998addda4b35232cfc309daf606235c505e4c |
|
MD5 | 126b3fbd384770d2fee143a719b022cc |
|
BLAKE2b-256 | 3cffd2e3d802383ced99dc5a0f32db580b8249ea1ce6b49aeaf6479afc1ad069 |