oop with php-gtk
| From: | Sebastian Kapp | Date: | Tue, 29 Oct 2002 10:03:10 +0000 |
| Subject: | oop with php-gtk | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2572@lists.php.net to get a copy of this message | ||
Hello!
It's really cool to code with php-gtk, but I couldn't yet figure out how to work with
classes and php-gtk. There seems to be the same problem as with C++ and gtk, that signal functions
may not be class functions, so that I have to call a signal function that calls a function of the
class.
That doubles the size of the code.
For C++ there's gtkmm, that allows to call class methods as signal functions. Since php-gtk is
implemented as objects (as far as I can see), is it possible to work with php-gtk in a similar way
as with gtkmm? If yes, how to do it?
Thanx a lot in advance! :)
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13