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 gtkradiomenuitem.xml gtktreeiter.xml
gtktreeviewcolumn.xml /updater prepxpath.py updateMethods.php
| From: | Scott Mattocks | Date: | Tue, 24 Jan 2006 18:31:29 +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 gtkradiomenuitem.xml gtktreeiter.xml gtktreeviewcolumn.xml /updater prepxpath.py updateMethods.php |
||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1800@lists.php.net to get a copy of this message | ||
Hi Anant,
I think the constructors for GtkRadioMenuItem are all missing a parameter. The first parameter should be a GtkRadioMenuItem or null. If it is a menu item, then the newly created menu item will be grouped with the menu item passed in. That is what gives these things a radio button effect. The example below uses the new operator but the format should be the same for the static constructors.
$quiet = new GtkRadioMenuItem(null, 'Quiet');
$normal = new GtkRadioMenuItem($quiet, 'Normal');
$verbose = new GtkRadioMenuItem($quiet, 'Verbose');
Thanks,
Scott
Anant Narayanan wrote:
anant Tue Jan 24 18:16:29 2006 UTCModified files: /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 gtkradiomenuitem.xml gtktreeiter.xml gtktreeviewcolumn.xml /php-gtk-doc/updater prepxpath.py updateMethods.php Log:The updation script now updates constructors too! :)