Re: EventHadler not function byt class method

From: Date: Sat, 23 Nov 2002 13:16:53 +0000
Subject: Re: EventHadler not function byt class method
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2713@lists.php.net to get a copy of this message
Manually coding, you can use $button->connect_object('clicked', array('object', 'method')); - but I've no idea off-hand whether Glade lets you use connect_object()??? ----- Original Message ----- From: "Alexander Kuznetsov" <sanych@cstrade.koenig.ru> To: <php-gtk-general@lists.php.net> Sent: Saturday, November 23, 2002 12:48 PM Subject: [PHP-GTK] EventHadler not function byt class method > Hello All, > > I have a question: > > can I use > $button->connect("clicked", $Class::method()); > instead > $button->connect("clicked", "function_name"); > > And if I can do so, how I can do this via wGlade? > Just name EventHandler like "$Class::method()"? > > > -- > Best regards, > Alexander Kuznetsov > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#2713) next »