Hicolor icon theme for wxPython.
Project description
Hicolor icon theme for wxPython.
This package provides a wxPython wxArtProvider class with icons from the Hicolor/Gnome Icon Theme.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Activity |
|
Other |
Installation
wx_icons_hicolor can be installed from PyPI.
To install with pip:
$ python -m pip install wx_icons_hicolor
Usage
To use wx_icons_hicolor in your application:
from wx_icons_hicolor import wxHicolorIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxHicolorIconTheme())
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
wx_icons_hicolor-0.2.0.tar.gz
(39.1 MB
view details)
Built Distribution
File details
Details for the file wx_icons_hicolor-0.2.0.tar.gz
.
File metadata
- Download URL: wx_icons_hicolor-0.2.0.tar.gz
- Upload date:
- Size: 39.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74075307909775cc106d70bb1df418ab812f791cd3416910c8062718bd9a0010 |
|
MD5 | ce36eefa207fd153bfbf8e4801d31e49 |
|
BLAKE2b-256 | e650a04cd3a91b8eb7398c6e8574068059187060e7600e8f5a820422355cf00f |
File details
Details for the file wx_icons_hicolor-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: wx_icons_hicolor-0.2.0-py3-none-any.whl
- Upload date:
- Size: 40.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc8ff441306781683cd3fd12401033540e518841745f2e6d119448a7c7d7555 |
|
MD5 | f4775af4806b59da009eea7d71bd9ee3 |
|
BLAKE2b-256 | c3a75596760e6d0d0b0fa3a41c8d1294da227c4fb3f29c0e34a17bdf983df142 |