Tango icon theme for wxPython 🐍
Project description
Tango icon theme for wxPython 🐍
This package provides a wxPython wxArtProvider class with icons from the Tango Icon Theme.
Docs |
|
|---|---|
Tests |
|
PyPI |
|
Activity |
|
QA |
|
Other |
Installation
wx_icons_tango can be installed from PyPI.
To install with pip:
$ python -m pip install wx_icons_tango
Usage
To use wx_icons_tango in your application:
# this package
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wx_icons_tango-0.2.0.tar.gz.
File metadata
- Download URL: wx_icons_tango-0.2.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91ac6cc91b6e23c3c807f203ac82aebec6c294566c7eca1cb2ee09a1e6f1309e
|
|
| MD5 |
e96a1c7db6ed42ec3b723b57502770d2
|
|
| BLAKE2b-256 |
b8a2a0bfcd73bbb75dbf872ccc805927423aebb9bc1e61c2fe86bb69a1140db3
|
File details
Details for the file wx_icons_tango-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wx_icons_tango-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b59fb424230c9362603a6c7a3f782a4652f0eb1f39ccaeae6ebfafdc97c8dcd7
|
|
| MD5 |
a82aeeaccef0c8306736fe22290067de
|
|
| BLAKE2b-256 |
838249146f2d536fa0f310523019a36e4bb00439ba3afd73611986dcf9ac11e2
|