GtkObject::connect
int connect(string signal, string function, [mixed
custom_data
]);
Connects a function to a signal so it is called when the signal is emitted
by a widget.
The function takes two or three arguments. The first parameter,
signal is the textual name of the signal, the
second parameter, function is the name of the
function that should be used as a callback. The third parameter,
custom is optional and can be used to pass extra
data to the callback. Please see the Userguide section of the manual for
more information on this.
See Also: connect_after() ,
connect_object() ,
connect_object_after()