Skip to main content

Suru icon theme for wxPython 🐍

Project description

Suru icon theme for wxPython 🐍

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

To install with pip:

$ python -m pip install wx_icons_suru

Usage

To use wx_icons_suru in your application:

# this package
from wx_icons_suru import wxSuruIconTheme


class MyApp(wx.App):

        def OnInit(self):
                wx.ArtProvider.Push(wxSuruIconTheme())
                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_suru-0.2.0.tar.gz (12.0 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_suru-0.2.0-py3-none-any.whl (13.8 MB view details)

Uploaded Python 3

File details

Details for the file wx_icons_suru-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for wx_icons_suru-0.2.0.tar.gz
Algorithm Hash digest
SHA256 78139a61fc8fb31d69cc80afaf13f3256618d5be28c60df46ea33f266a5eb303
MD5 19f6ed668e76b421c915b54fe632c2ec
BLAKE2b-256 bb19c0a702b487ed8875e27d417f842c32f57f3dd0f565b7fda1901215b86111

See more details on using hashes here.

File details

Details for the file wx_icons_suru-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wx_icons_suru-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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_suru-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f1c2951ce5b3dc8af9439be0f433fb762c6ce92907f9dbabc67ddd8df8be9a
MD5 18f1f02b0769c2d5be641c27277492da
BLAKE2b-256 4085ba429cf9306fbd7532b1e82dda6160f4495634a52e12abf6cb193f745410

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