Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.Object

Method GTK.Object()->signal_connect_new()


Method signal_connect_new

mixed signal_connect_new(string signal, function callback, mixed|void callback_arg)

Description

Connect a signal to a pike function.

This function differs from the signal_connect function in how it calls the callback function.

The old interface:

   void signal_handler( mixed my_arg, GTK.Object object,
                        mixed ... signal_arguments )
 
The new interface:
   void signal_handler( mixed ... signal_arguments,
                        mixed my_arg, GTK.Object object )
 

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.