This doesn't work.  Not an error though. :)  What I'm
trying to do is get the text value of a label.

def icon_click(self, event=None):
  print event.widget.option_get("text", event.widget)

Or, more to the point...  I need to dynamicaly create
clickable labels, each using the same callback.  When
clicked, I need to know which one was clicked.  I was
hoping to use the "text" of the label as the argument
to another function.

Any ideas, suggestions, or recommeded URLs to study?


Ronald Weidner
http://www.techport80.com
PHP Software developer for hire.


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to