Re: [Tutor] Event handler for optionmenu

2005-08-15 Thread geon
Jorge Louis de Castro napsal(a): >Hi, > >Thanks for your reply. It wasn't lazyness, believe me, I did look around for >solutions and found something similar to yours here: > >http://www.astro.washington.edu/owen/TkinterSummary.html#TracingVariables > >The problem is that I have a class and it wan

Re: [Tutor] Event handler for optionmenu

2005-08-15 Thread Jorge Louis de Castro
x, mode) # HOW TO ACCESS THE VAR VALUE HERE?? #varValue = root.getvar(name) #print varValue print "Client Started" try: conn=StartWin() conn.initialize() root=Tkclient() thread.start_new_thread(listen_server, (client, root)) root.startWindow() e

Re: [Tutor] Event handler for optionmenu

2005-08-15 Thread geon
Jorge Louis De Castro napsal(a): Hi,   I have an optionmenu widget that works just fine except that  can't find docs to get hold of events as they happen, kinda like the command=XYZ of other widgets like buttons.   The code I'm using for the option menu is the following:  

[Tutor] Event handler for optionmenu

2005-08-15 Thread Jorge Louis De Castro
Hi,   I have an optionmenu widget that works just fine except that  can't find docs to get hold of events as they happen, kinda like the command=XYZ of other widgets like buttons.   The code I'm using for the option menu is the following:   OPTIONS = ["en","pt","es","it","fr","de"]self.start