[Tkinter-discuss] How to Handle Selected Item Event of ListBox

Behseini suffii at gmail.com
Fri Mar 4 00:22:06 CET 2011


Thanks Michael
But in this issue I have to have a if clause to select from the user chose
some thing  like
  self.zones = self.Lb1.curselection()
    if self.zones == 1:
        command=self.make_Red()
    if self.zones == 2:
        command=self.make_Red()
    if self.zones == 3:
        command=self.make_Red()

But i can/t figure it out how to set it up
Thanks for your time again

No one may kill a man.  Not for any purpose.  It cannot be condoned.
		-- Kirk, "Spock's Brain", stardate 5431.6
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss



-- 
View this message in context: http://old.nabble.com/How-to-Handle-Selected-Item-Event-of-ListBox-tp31055478p31063738.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list