| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK2
GTK2.G.Object

# Method GTK2.G.Object()->signal_connect()

Method signal_connect

  `int signal_connect(string signal, function callback, mixed|void callback_arg, string|void detail)`

Description

  int signal_connect(string signal, function callback, mixed ... args) 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, and any other arguments are the ones supplied by GTK.

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