PyGTK is unmaintained and has been archived. It has been superseded by PyGObject. Links below might not work anymore and information below might be incorrect.
label.get_text() Vs. label.get_label()
Connecting and diconnecting a signal to widget
1 >>> import gtk
2 >>> button = gtk.Button("Yes")
3 >>> def on_button_clicked(*args):
4 ... print args
5 ...
6 >>> handler = button.connect("clicked", on_button_clicked)
7 >>> print handler #prints handler id
8 4
9 >>> button.emit("clicked")
10 (<gtk.Button object (GtkButton) at 0x40228c34>,)
11 >>> button.disconnect(handler)
12 >>> button.emit("clicked")
13 >>>