Connects all signal handlers defined in the glade file to functions
with the same name as the signal handler.
In the example, the "clicked" signal of the close button
would be connected to a function called "test" if it
exists in the source.
Try to extend the example with the following (after glade
instantiation and before gtk_main):
function test()
{
echo 'test' . "\r\n";
}
$glade->signal_autoconnect();
|
If you click the close button now, you will see an "test"
output line in the shell prompt.
The first parameter passed to the callback will be the
calling widget.