Re: [pygtk] Confused about a widget's name

2013-04-25 Thread Skip Montanaro
> In a signal callback for a radio button, if I ask for its name > (rb.get_name()) I always get "GtkRadioButton". If I call get_property > with "name" as the argument, I get the empty string. Looking at the > docs for gtk.Builder, I saw this: > > "Objects must be given a name with the "id" attrib

[pygtk] Confused about a widget's name

2013-04-25 Thread Skip Montanaro
I'm returning to PyGTK programming after a long hiatus. When last I visited these waters, I used Gtk 2.12. Now I use 2.22 and this Builder thing, which, I must admit, has me a bit confused. In a signal callback for a radio button, if I ask for its name (rb.get_name()) I always get "GtkRadioButto