GtkOptionMenu and glade
| From: | Arnd Vehling | Date: | Wed, 03 Sep 2003 18:11:11 +0000 |
| Subject: | GtkOptionMenu and glade | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3790@lists.php.net to get a copy of this message | ||
Hello,
after reading the documentatin and searching the net with google for hours i was not able to figure out how to use GtkOptionMenu with glade.
More precise: How to retrieve which option of a "GtkOptionMenu" is
selected.
I found some examples of manually coding menuitems and connecting them
to a callback funktion but there is no example on how to retrieve a selected value from a "GtkOptionMenu" with the options predefined
in a glade/xml file.
The only reference ive found had been in a glade FAQ but the corresponding solution is aimed at GTK+/C users and uses some
glib functions.
(http://www.fifi.org/doc/glade-common/help/glade/C/faq/index.html#AEN326)
If theres a way to translate this into php please let me know, i will try to do this then.
Any ideas?
best regards,
Arnd