"Kohli, Ranjan" wrote:
>     Is there anyway I can obtain the check box button's label?
Yes.
        c = GtkCheckButton("Click")
        print c.children()[0]

> For example I create a list of checkboxes all calling the same 
> eventhandler.  I would like to be able to look at the label of the 
> checkbox button to see what the label is.
I've done a similar thing with radio buttons, but I pass an extra
argument to the event handler.  Keeps things cleaner IMHO.

-- 
Michael JasonSmith        http://www.cosc.canterbury.ac.nz/~mpj17/

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to