Re: demos
| From: | Andrei Zmievski | Date: | Tue, 26 Apr 2005 06:29:43 +0000 |
| Subject: | Re: demos | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1182@lists.php.net to get a copy of this message | ||
On Apr 25, 2005, at 10:02 PM, Christian Weiske wrote:
1. GtkCombo can't be instantiated via new_text factory method: =============== $option_menu = GtkComboBox::new_text(); PHP Warning: PHP-GTK internal error: could not get typecode from value in /data/cvs/phpgtk2/php-gtk/demos/sizegroup.php on line 106 (sizegroup.php:13382): GLib-GObject-CRITICAL **: g_object_newv: assertion `G_TYPE_IS_OBJECT (object_type)' failed ===============Fixed.
2. GtkBox doesn't support set_layout yet.GtkBox doesn't _have_ set_layout() method at all. What are you trying to do?
3. Do we use "Gtk::" or "gtk::" like in php-gtk1? I know for php it doesn't matter, but we should stay constant in docs.Maybe standardize on titlecased names? "Gtk" instead of "gtk" since we call toolkit Gtk+?
4. Is there a way to get all registered constants?$r = new ReflectionClass('Gtk'); var_dump($r->getConstants()); -Andrei