Skip to main content

Hicolor icon theme for wxPython.

Project description

Hicolor icon theme for wxPython.

This package provides a wxPython wxArtProvider class with icons from the Hicolor/Gnome Icon Theme.

Docs

Documentation Build Status Docs Check Status

Tests

Linux Test Status Windows Test Status macOS Test Status

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Activity

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

QA

CodeFactor Grade Flake8 Status mypy status

Other

License GitHub top language Requirements Status

Installation

wx_icons_hicolor can be installed from PyPI.

To install with pip:

$ python -m pip install wx_icons_hicolor

Usage

To use wx_icons_hicolor in your application:

# this package
from wx_icons_hicolor import wxHicolorIconTheme


class MyApp(wx.App):

        def OnInit(self):
                wx.ArtProvider.Push(wxHicolorIconTheme())
                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

wx_icons_hicolor-0.3.0.tar.gz (39.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wx_icons_hicolor-0.3.0-py3-none-any.whl (40.9 MB view details)

Uploaded Python 3

File details

Details for the file wx_icons_hicolor-0.3.0.tar.gz.

File metadata

  • Download URL: wx_icons_hicolor-0.3.0.tar.gz
  • Upload date:
  • Size: 39.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wx_icons_hicolor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e646d613e8ad726e388a65e784fb33439ec669abdca28f46ead5649ed8f11daf
MD5 4042b3532b02e7fe11588b62ffe5adca
BLAKE2b-256 570ae94cceaa2f489cbb856b4bc68415a1f7db370c89b2db2db4cfac4e1a6dad

See more details on using hashes here.

File details

Details for the file wx_icons_hicolor-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wx_icons_hicolor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1aa22b1b54f847f801130473c244f57ded367f2161a207d4eb16a760f4706930
MD5 083ab60f7501c5c2ec9ca8e63e6c789c
BLAKE2b-256 38e070cf47553604032fbfa3bc3699803620f1f70f6d495e57fdf45dd5172847

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page