Skip to content Skip to sidebar Skip to footer

Gtk Keybinder Does Not Respond

I'm using a Keybinder in a Gtk+3 application, but it doesn't get any key combinations. Here's the code: #!/usr/bin/env python # -*- coding: utf-8 -*- import gi gi.require_version(

Solution 1:

As you're using the GIR-based Python bindings, I'm pretty sure you need to call

Keybinder.init()

manually before calling any other functions from the Keybinder library.

(From what I can tell, the static python-keybinder Python bindings do this for you, but the introspected bindings do not.)


Post a Comment for "Gtk Keybinder Does Not Respond"