Re: Setting an objects method as callback function ?

From: Date: Sun, 08 Apr 2001 16:32:43 +0000
Subject: Re: Setting an objects method as callback function ?
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1323@lists.php.net to get a copy of this message
At 06:26 PM 4/8/01 +0200, Markus Fischer wrote:
Fristly, please note : 'Gtk::main_quit();' here works.
I have no idea how it works for you, because it's not supposed to.
When using they array approach here I get
        array( 'Gtk', 'main_quit')
        main_quit() requires exactly 0 arguments
Try doing connect_object('destroy', array('gtk', 'main_quit')) instead. This will not pass the default 'destroy' argument to Gtk::main_quit(). -Andrei

« previous php.gtk (#1323) next »