Re: Questions
| From: | Scott Mattocks | Date: | Wed, 30 Nov 2005 21:52:27 +0000 |
| Subject: | Re: Questions | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2088@lists.php.net to get a copy of this message | ||
Pedro wrote:
Hello I have a question Using PHP-GTK2 i'm trying to build a menu system using the example code at gtk.php.net for how to use the GtKItemFactory. Seems that:I think GtkItemFactory is deprecated in Gtk+ 2. Use GtkUIManager instead for creating menus. (http://developer.gnome.org/doc/API/2.0/gtk/GtkUIManager.html) -- Scott Mattocks scott@crisscott.com http://www.crisscott.com http://pear.php.net/user/scottmattocks$fac = &new GtkItemFactory( GtkMenuBar::get_type(), '<mainmenu>', $accelgroup);