description goes here
Project description
This package provides a wxPython wxArtProvider class with icons from the Humanity Icon Theme.
To use it 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file wx_icons_humanity-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wx_icons_humanity-0.1.0-py3-none-any.whl
- Upload date:
- Size: 52.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a904de6a99a35d9a4d4dcf9661aeb01d57837d64b0ff6e6aaebcfc8485528639 |
|
MD5 | accb2569ca42e5b8e1fde184be1470ab |
|
BLAKE2b-256 | 3856d9e42924474007f56290539e7cc5ee923dbc67341045191610d98002cfa4 |