Skip to main content

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

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_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


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_tango-0.2.0.tar.gz (1.5 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_tango-0.2.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

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

Hashes for wx_icons_tango-0.2.0.tar.gz
Algorithm Hash digest
SHA256 91ac6cc91b6e23c3c807f203ac82aebec6c294566c7eca1cb2ee09a1e6f1309e
MD5 e96a1c7db6ed42ec3b723b57502770d2
BLAKE2b-256 b8a2a0bfcd73bbb75dbf872ccc805927423aebb9bc1e61c2fe86bb69a1140db3

See more details on using hashes here.

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

Hashes for wx_icons_tango-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b59fb424230c9362603a6c7a3f782a4652f0eb1f39ccaeae6ebfafdc97c8dcd7
MD5 a82aeeaccef0c8306736fe22290067de
BLAKE2b-256 838249146f2d536fa0f310523019a36e4bb00439ba3afd73611986dcf9ac11e2

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