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 |
|
QA |
|
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:
# this package
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
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_humanity-0.2.0.tar.gz.
File metadata
- Download URL: wx_icons_humanity-0.2.0.tar.gz
- Upload date:
- Size: 32.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ade39acc2caed4aeaf49a3903bca4d97ad7762a62c482732573500227a571dd6
|
|
| MD5 |
fe979404a1312de704c00cb8322c0752
|
|
| BLAKE2b-256 |
be053a85dd9009a6e51db506fede63de77e9fa73c83a0a677b8f567db77f7321
|
File details
Details for the file wx_icons_humanity-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wx_icons_humanity-0.2.0-py3-none-any.whl
- Upload date:
- Size: 52.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 |
e7ac1537e097c01358465a0db88a8a30924fce5d6fde06494e8cf9246c177bc1
|
|
| MD5 |
55d2ef89cc6a9f561f25b40fef272012
|
|
| BLAKE2b-256 |
694290fa6712d8c0aa92f393a012b48576564e593882a8ed323a1a38ef30505b
|