Re: Re: ext/libglade complete?
| From: | Christian Weiske | Date: | Sun, 30 Oct 2005 20:32:21 +0000 |
| Subject: | Re: Re: ext/libglade complete? | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2000@lists.php.net to get a copy of this message | ||
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