Re: June News
| From: | Scott Mattocks | Date: | Fri, 17 Jun 2005 12:39:12 +0000 |
| Subject: | Re: June News | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1401@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
If you are slowed down because certain fundamental classes are not fully implemented yet, by all means, raise it to my attention. You said that some basics of widgets and signals are missing: what are they? With such a large API it is hard for me to keep track of what is generated and what is not right now.Here are some parts that I have noticed. GtkObject::signal_handler* (or it may be GtkWidget I forget) GtkContainer::children, get_children There is a GtkContainer::get_child in the docs that shouldn't be there. I don't know if that is a problem with docgen or the sources. Several of the GtkTextBuffer methods require parameters of type GObject. There are some conflicting messages if you try to add a window to another window. Try the following code: <?php $window1 = new GtkWindow(); $window2 = new GtkWindow(); $button = new GtkButton(); $window1->add($window2); $window1->add($button); ?> The first call to add will give you an appropirate message about window being a top level widget and how it can't be added to another widget. No problem there right? The second call to add gives a message about how window is a bin and can't have two children. That message shouldn't appear because the first add should have failed. This is not so much a missing implementation thing as it is a bug I think. Thanks, Scott