Re: Re: ext/libglade complete?

From: Date: Sun, 30 Oct 2005 21:00:11 +0000
Subject: Re: Re: ext/libglade complete?
References: 1 2 3 4 5 6 7  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2007@lists.php.net to get a copy of this message
Bah, isn't it what I suggested originally? -Andrei On Oct 30, 2005, at 12:35 PM, Steph Fox wrote:
So maybe we should look into adapting that idea from Perl... (as well) ----- Original Message ----- From: "Christian Weiske" <cweiske@cweiske.de> To: "Steph Fox" <steph@zend.com> Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Sunday, October 30, 2005 8:32 PM Subject: Re: [PHP-GTK-DEV] Re: [PHP-GTK] ext/libglade complete?
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
--PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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