Re: [Tutor] adjust key bindings

2006-11-27 Thread John CORRY
# Ctrl-S > 0x14: 'tree', # Ctrl-T > ord('0'): 'bookmark_0', > ord('1'): 'bookmark_1', > ... > > > with such a keytable I am able to bind different 'def's to every > existing

Re: [Tutor] adjust key bindings

2006-11-26 Thread Luke Paireepinart
John CORRY wrote: > Hi All, > > I have been trying to bind the "z" key to the "Down" key using Python > 2.4, Glade 2 and Pygtk. I have posted this problem on the Pygtk list > but have had no response. I was hoping somebody on the tutor list could > help. I think that I am close. I can capture t

[Tutor] adjust key bindings

2006-11-26 Thread John CORRY
Hi All, I have been trying to bind the "z" key to the "Down" key using Python 2.4, Glade 2 and Pygtk. I have posted this problem on the Pygtk list but have had no response. I was hoping somebody on the tutor list could help. I think that I am close. I can capture the "z" key press and assign a