[pygtk] Binding shift - tab

Le Boulanger Yann asterix at lagaule.org
Tue Jan 24 15:35:38 WST 2006


Mystilleef wrote:
> Hello,
> 
> What do I need to do to bind shift - tab to an action? I can
> bind shift - (almost any character), but shift - tab seems
> to be elusive.
> 
> Thanks
> 

Just try:
if event.keyval == gtk.keysyms.ISO_Left_Tab:
     print 'it's shift+tab !'


More information about the pygtk mailing list