Skip to main content

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.

Release files for wx-icons-suru 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wx-icons-suru 0.2.0
File Size Uploaded
wx_icons_suru-0.2.0.tar.gz 12.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for wx-icons-suru 0.2.0
File Interpreter ABI Platform
wx_icons_suru-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.8 MB

Release files / wx_icons_suru-0.2.0.tar.gz

Download URL wx_icons_suru-0.2.0.tar.gz
Size 12.0 MB
Tags Source
SHA-256 checksum
How to use checksums
78139a61fc8fb31d69cc80afaf13f3256618d5be28c60df46ea33f266a5eb303
BLAKE2b-256 checksum
How to use checksums
bb19c0a702b487ed8875e27d417f842c32f57f3dd0f565b7fda1901215b86111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wx_icons_suru-0.2.0-py3-none-any.whl

Download URL wx_icons_suru-0.2.0-py3-none-any.whl
Size 13.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d1f1c2951ce5b3dc8af9439be0f433fb762c6ce92907f9dbabc67ddd8df8be9a
BLAKE2b-256 checksum
How to use checksums
4085ba429cf9306fbd7532b1e82dda6160f4495634a52e12abf6cb193f745410
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page