GObject::connect_simple

int connect_simple(string signal, callback callback [, mixed userparam]);

Connects a signal to the given callback. The first callback parameter (the object it has been called on) is omitted.

The method returns a signal handler id that can be used to block() or disconnect() the handler.

For more information about signals, see the Signal Handling tutorial

See also: connect() , connect_after() , connect_simple_after() ,