description goes here
Project description
This package provides a wxPython wxArtProvider class with icons from the Tango Icon Theme.
To use it in your application:
from wx_icons_tango import wxTangoIconTheme
class MyApp(wx.App):
def OnInit(self):
wx.ArtProvider.Push(wxTangoIconTheme())
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
Close
Hashes for wx_icons_tango-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f475bd91bd9148c70b05cdacc12ef4bf79e065bfa32db6e749218c69ad0b23d2 |
|
MD5 | 727958553d22b57b9b9092424795aebd |
|
BLAKE2b-256 | b58297e8c4aa9f6339436a71b7b6db4329cd0f9229bdef879fb2a3fd618a77a9 |