Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example Using Yapsy Python Plugins with GTK+

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 plugins
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 plugin.png
Octocat-spinner-32 widgets.py
Octocat-spinner-32 yapsy-gtk-example.py
README.markdown

Example Using Yapsy Python Plugins with GTK+

This is an example Python GTK+ application I have been using for experimenting with Yapsy, a simple python plugin system. The code has a ton of comments and you can read more details on my blog post: Python Plugins with Yapsy.

Dependencies

  • Python 2
  • GTK+ 3
  • Yapsy - Make sure you grab the Python2 version and not the Python3 version. Eg. pip install Yapsy==1.9
  • PyXDG - Most Linux distributions will likely have pyxdg or python-xdg in their software repositories.

Running the Example

Launch the application with:

python yapsy-gtk-example.py

Which should show a window like the one below.

Screenshot of yapsy-gtk-example Window

To get started, take a look at yapsy-gtk-example.py first and then look into the plugin files inside of the plugins directory.

Something went wrong with that request. Please try again.