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 Status Docs Check Status

Tests

Travis Build Status Windows Tests Status macOS Tests Status CodeFactor Grade

PyPI

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

Activity

GitHub last commit GitHub commits since tagged version Maintenance

Other

License GitHub top language Requirements Status pre-commit

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:

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.1.2.tar.gz (11.9 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.1.2-py3-none-any.whl (13.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wx_icons_suru-0.1.2.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

File hashes

Hashes for wx_icons_suru-0.1.2.tar.gz
Algorithm Hash digest
SHA256 00d2dd9e53faee27344af22afd3e072876f82910e66ba30ad178e98d0f3c81b0
MD5 87e8771986b88848e7779f56887e0ded
BLAKE2b-256 e07e21b849b5ee8e40565d8a310307ec9da9d56800b63e95ea43123df5b21e10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wx_icons_suru-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7

File hashes

Hashes for wx_icons_suru-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba766a6bb1f25b61cd78089db652fcc4ca9e4c4d901fd2840b017c05e5f6207b
MD5 4e7e687e4e8e3cbe17226d61224a3dbd
BLAKE2b-256 26a76e8fc003d435bfa04ab78a980a6e685bcfc3836f0b175a1ca212f5509905

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