Pike v8.0 release 1738

Method GTK1.Object()->signal_connect()


Method signal_connect

mixed signal_connect(string signal, function(:void) callback, mixed|void callback_arg)

Description

Connect a signal to a pike function. The function will be called with the last argument to this function as it's first argument (defaults to 0), the second argument is always the widget, any other arguments are the ones supplied by GTK1.

The return value of this function can be used to remove a signal with signal_disconnect, and block and unblock the signal will signal_block and signal_unblock.