Re: June News
| From: | Andrei Zmievski | Date: | Sat, 18 Jun 2005 21:38:09 +0000 |
| Subject: | Re: June News | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1405@lists.php.net to get a copy of this message | ||
On Jun 17, 2005, at 5:39 AM, Scott Mattocks wrote:
Here are some parts that I have noticed. GtkObject::signal_handler* (or it may be GtkWidget I forget)Implemented now in CVS as methods of GObject class.
GtkContainer::children, get_childrenBoth implemented, although children() is deprecated and issues appropriate notice.
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.It's a method of GtkBin class.
Several of the GtkTextBuffer methods require parameters of type GObject.Like what? I couldn't find any.
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.Nothing we can do about this. gtk_container_add() does not return any sort of status flag to let us know whether addition succeeded or failed. -Andrei