That is one way to do it. The way it's more commonly done in Gtk (being based in C) is to check the event for the Control Mask, as done here: https://bazaar.launchpad.net/~catfish-search/catfish-search/gtk316-csd/revision/372
if event.get_state() & Gdk.ModifierType.CONTROL_MASK
Thanks for getting my eyes on this bug! Fixed in the next release.
That is one way to do it. The way it's more commonly done in Gtk (being based in C) is to check the event for the Control Mask, as done here: https:/ /bazaar. launchpad. net/~catfish- search/ catfish- search/ gtk316- csd/revision/ 372
if event.get_state() & Gdk.ModifierTyp e.CONTROL_ MASK
Thanks for getting my eyes on this bug! Fixed in the next release.