Re: gtk::input_add
| From: | Steph | Date: | Thu, 05 Jul 2001 23:45:16 +0000 |
| Subject: | Re: gtk::input_add | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2059@lists.php.net to get a copy of this message | ||
is $someclass declared as global at this point?
----- Original Message -----
From: "Mark Leavy" <MarkL@Linux2001.org>
To: <php-gtk@lists.php.net>
Sent: Friday, July 06, 2001 12:31 AM
Subject: [PHP-GTK] gtk::input_add
Hi,
Got a problem..
using gtk::input_add($fp,GDK_INPUT_READ,'somefunc',null) works fine but i'd like
somefunc to be a class function and
gtk::input_add($fp,GDK_INPUT_READ,'$someclass->function',null) doesn't work :(
"Unable to call input callback $someclass->function"
Any solutions..i've tried a few obvious possibilities with no luck..i suspect a short fall in
gtk itself :)
Thanks
MarkL
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net