Humanity and Humanity Dark icon themes for wxPython 🐍
Project description
Humanity and Humanity Dark icon themes for wxPython 🐍
This package provides wxPython wxArtProvider classes with icons from the Humanity and Humanity Dark Icon Themes.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Activity |
|
Other |
Installation
wx_icons_humanity can be installed from PyPI.
To install with pip:
$ python -m pip install wx_icons_humanity
Usage
To use wx_icons_humanity in your application:
from wx_icons_humanity import wxHumanityIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxHumanityIconTheme())
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_humanity-0.1.3.tar.gz
(35.8 MB
view details)
File details
Details for the file wx_icons_humanity-0.1.3.tar.gz
.
File metadata
- Download URL: wx_icons_humanity-0.1.3.tar.gz
- Upload date:
- Size: 35.8 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 | 77f5981addab31df67a3d6dc1bae3d54a97359385f5aaabee630f324aafaaf21 |
|
MD5 | 720f79d0be1932929c97255b1b3b19e6 |
|
BLAKE2b-256 | 95e79938abd96e90351a9a1c2f6dc9c064f3d210a2e757a60b2e541bf5c74a36 |