Pike v8.0 release 1738

Method GTK1.GladeXML()->signal_autoconnect_new()


Method signal_autoconnect_new

GTK1.GladeXML signal_autoconnect_new(mapping callbacks, mixed data)

Description

Try to connect functions to all signals in the interface. The mapping should consist of handler name : function pairs. This function differs from the signal_connect function in how it calls the callback function.

The old interface:

   void signal_handler( mixed data, GTK1.Object object,
                        mixed ... signal_arguments )
 
The new interface:
   void signal_handler( mixed ... signal_arguments,
                        mixed data, GTK1.Object object )