pike.hubbe.net

[Top]
GTK
GTK.Object
previousGTK.Object()->signal_connect() GTK.Object()->signal_disconnect()next

Method GTK.Object()->signal_connect_new()


Method signal_connect_new

mixed GTK.Object()->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.


Extracted from Pike v7.3 release 11 at 2001-11-03.