Re: oop with php-gtk

From: Date: Tue, 29 Oct 2002 15:26:23 +0000
Subject: Re: oop with php-gtk
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2573@lists.php.net to get a copy of this message
> 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. Use: $someGtkObj->connect_object( 'someSignalName', array(&$somePHPObj, 'methodName') ); Goba

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