GtkOptionMenu and Glade 0.6.4
| From: | php-gtk User | Date: | Fri, 27 Dec 2002 18:44:20 +0000 |
| Subject: | GtkOptionMenu and Glade 0.6.4 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2817@lists.php.net to get a copy of this message | ||
Hi all -
I'm new to php-gtk and was wondering if someone might have an example of
using GtkOptionMenu with Glade and php-gtk.
I've had some limited success outside of glade, but would like to figure
out how to get a GtkOptionMenu created in Glade to reveal what item is
selected. Successes are based on this:
http://gtk.php.net/manual/en/gtk.gtkoptionmenu.constructor.php
(How can this be done with Glade+php-gtk?)
What signal should trigger GtkOptionMenu to call the handler when an
Item (from the "Widget->Items" tab in Glade) is selected?
The end result is to set a (global) variable based on the item selected.
My specifics -
Gnome Glade 0.6.4
PHP/4.2.3
php-gtk 0.5.0
gtk+-1.2.10
redhat 8.0
All the FAQs I've seen are specific to Perl or Python. If someone knows
of a FAQ, forum, IRC channel or some resource with php-gtk/glade
examples, I'm open to suggestions.
Any php+glade, help or pointers are appreciated!