Skip to main content

Adwaita icon theme for wxPython 🐍

Project description

Adwaita icon theme for wxPython 🐍

This package provides a wxPython wxArtProvider class with icons from the Adwaita 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_adwaita can be installed from PyPI.

To install with pip:

$ python -m pip install wx_icons_adwaita

Usage

To use wx_icons_adwaita in your application:

# this package
from wx_icons_adwaita import wxAdwaitaIconTheme


class MyApp(wx.App):

        def OnInit(self):
                wx.ArtProvider.Push(wxAdwaitaIconTheme())
                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_adwaita-0.3.0.tar.gz (40.4 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_adwaita-0.3.0-py3-none-any.whl (42.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wx_icons_adwaita-0.3.0.tar.gz
Algorithm Hash digest
SHA256 74ae97ad86b7ede7b9f1b03e9e9cb59496904140b920bc46f75a898f5e42ef69
MD5 dfd2c7c43129667da2fa0acfca62e716
BLAKE2b-256 4f5f3edc6f43d05fc2d7e3a581d8ff01022fdba9ece53c64e82c22d6a1dc74cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wx_icons_adwaita-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b7350f46b050bd720cd465733c6d04c0c17522309b51b61e411eea861e476a
MD5 1a40babb183d4d234a6de5bcb5661fac
BLAKE2b-256 a5e1da112ade0c0c3f5de897bff1115b89451cf941d205c88803bb9d107e0b5e

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