Code Monkey home page Code Monkey logo

custom_wx_icons_suru's Introduction

wx_icons_suru

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

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.

custom_wx_icons_suru's People

Contributors

domdfcoding avatar chrisdafo avatar dependabot-preview[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.