[pygtk] problems with ctrl keybindings

Thomas Guettler hv at tbz-pariv.de
Fri Mar 16 16:54:28 WST 2007


Am Donnerstag, 15. März 2007 18:34 schrieb Fabian Braennstroem:
> Hi,
>
> I have some own keybindings for my filemanager, which work pretty
> well. Except combinations with the 'Control' key make problems (but
>         if (keyname == "l" and event.state == gtk.gdk.CONTROL_MASK):
> 	   'do_something'

Hi,

I guess yo need to use & instead of ==

 Thomas


More information about the pygtk mailing list