Re: cvs: php-gtk-doc /manual/en/reference/gtk gtkbox.xml gtkcellview.xml gtkcombobox.xml gtkentry.xml gtkfilechooserbutton.xml
gtkfilechooserdialog.xml gtkfilechooserwidget.xml gtkimage.xml gtkinvisible.xml gtkoldeditable.xml gtkradiome
| From: | Scott Mattocks | Date: | Tue, 24 Jan 2006 19:59:22 +0000 |
| Subject: | Re: cvs: php-gtk-doc /manual/en/reference/gtk gtkbox.xml gtkcellview.xml gtkcombobox.xml gtkentry.xml gtkfilechooserbutton.xml gtkfilechooserdialog.xml gtkfilechooserwidget.xml gtkimage.xml gtkinvisible.xml gtkoldeditable.xml gtkradiome |
||
| References: | 1 2 3 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1807@lists.php.net to get a copy of this message | ||
No need to appologize. Some auto-generation is better than none.
Line 100 starts a foreach loop. In that loop you create an element called $xmlParamdef, but you don't do anything with it inside the loop. It gets overwritten on each iteration. Finally outside the loop, you add it on line 144. My guess is that the $xmlPrototype stuff should surround the loop with the call to $xmlPrototype->appendChild($xmlParamdef) inside the loop.
Hope that helps.
Scott
Anant Narayanan wrote:
Scott,-- Scott Mattocks http://www.crisscott.comBut these are constructors that were just added. I think there may be an issue with either your script or the reflection information because it looks like only the last parameter is being added. The imageYou are absolutely right. Only the last parameters are being added. It is not an issue with the reflection information, but with my script. Unformtunately, I checked for the validity of the script only a few methods that happened to have only one parameter! I will defintely look into this and correct the script.constructors have the same problem. GtkImage::new_from_stock doesn't have the stock_id parameter and new_from_pixmap doesn't have the pixmap parameter. Where in the source can I find the reflection information?Christian mentions the file, I personally use his PHP-Gtk2 Inspector app. But the problem is not with the reflection information but with the script. Sorry! Thanks and Regards, -- Anant Narayanan ------------------------- Find Freedom! http://www.kix.in/