Re: Re: ext/libglade complete?

From: Date: Sun, 30 Oct 2005 20:59:56 +0000
Subject: Re: Re: ext/libglade complete?
References: 1 2 3 4 5 6  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2006@lists.php.net to get a copy of this message
Exactly. -Andrei On Oct 30, 2005, at 12:32 PM, Christian Weiske wrote:
Steph,
Thing 2 is that there's already a way to achieve this. I don't see what's so problematic about having a callback in the Glade file called 'MyApp::on_ok_clicked'... if you have some issue with the callbacks being public you can just move the whole lot, including the call to gtk::main(), inside the class and use self:: instead. What am I missing here?
The problematic thing is that a /static/ function is called, not the one of the object instance. I don't need static calls, because programming object oriented means having *objects* and not only stateless functions which are defined in a class by accident. --Regards/MfG, Christian Weiske --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#2006) next »