Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python GI example #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

M4rtinK
Copy link

@M4rtinK M4rtinK commented Nov 21, 2013

Looks like there was no example for using Keybinder from GI with Python, so I've added one. :)

@domenkozar
Copy link

I also needed to init Gdk, like so:

python -c "import sys;from gi.repository import Gdk, Keybinder;Gdk.init(sys.argv);Keybinder.init()"

@bluss bluss force-pushed the master branch 2 times, most recently from 845eeb1 to 1c3680e Compare February 8, 2017 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants