Re: [Tutor] Tkinter and keyboard output

2005-03-25 Thread Michael Lange
On Thu, 24 Mar 2005 18:05:25 - "Igor Riabtchuk" <[EMAIL PROTECTED]> wrote: > Hi, > > I was playing around with Tkinter bindings and I got a question which is > probably not particularly bright. > > If I have the following code, it works because I specifically code a function > for keypre

Re: [Tutor] Tkinter and keyboard output

2005-03-24 Thread Alan Gauld
> What if instead of coding , I coded - how would > I implement the function which would allow the code to determine > which 'Key' was pressed after Alt? There is probably a more correct way of doing it but I'd simply write a small test application that printed out the key values, then type in t

[Tutor] Tkinter and keyboard output

2005-03-24 Thread Igor Riabtchuk
Hi,   I was playing around with Tkinter bindings and I got a question which is probably not particularly bright.   If I have the following code, it works because I specifically code a function for keypress:   from Tkinter import *class CRED(Frame):    def __init__(self):    Frame.__i