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.1-py3-none-any.whl
.
File metadata
- Download URL: wx_icons_humanity-0.1.1-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 | 5d665102f2f924050a5e5213f4b024d82c7ae4a70b8c372755f7fffc29ea3529 |
|
MD5 | c0113c84f162cf852ae87ed8754a7a87 |
|
BLAKE2b-256 | d1a35c49f13be1b5683d4bb4ed47db9dbf08f3da47bc27f6677f7dcfd6281d4c |