Re: [Tutor] Binding Events

2009-02-09 Thread Alan Gauld
"prasad rao" wrote Hi I am unable to bind an event to a widget despite of my best efforts. So give us a clue. What happened? Do you get any error messages in the console when you run it? Does the GUI display but just not respond? Please don't make us guess... class app: def __init__(se

[Tutor] Binding Events

2009-02-09 Thread prasad rao
Hi I am unable to bind an event to a widget despite of my best efforts. Some one please help me. class app: def __init__(self,root): frame=Frame(root) frame.bind('',self.callback) frame.pack() self.event=event self.button=Button(root,text='quit',fg='red',command=frame.quit) self.button.pack(sid