Re: Adding menuitems to a GtkOptionMenu (well... GtkMenu)
- From: Pascal Giard <evilynux yahoo com>
- To: gtk-perl-list gnome org
- Subject: Re: Adding menuitems to a GtkOptionMenu (well... GtkMenu)
- Date: Sun, 29 Feb 2004 01:52:10 +0100 (CET)
Looks like what you think is a Gtk2::Menu is actually a
Gnome2::PopupMenu.
Looks like you either have to convince Glade to use stock gtk+ widgets
or learn about GnomeUIInfo's. The man page for Gnome2::AppHelper has a
whole section about them.
i would have love it if you would have been right!
but unfortunatly, my glade interface file shows me that GtkOptionMenu contains a GtkMenu
containing GtkMenuItem[s].
here's a snap :
[...]
<widget class="GtkOptionMenu" id="optionmenu_menu_lang">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="history">0</property>
<child>
<widget class="GtkMenu" id="menu1">
<child>
<widget class="GtkMenuItem" id="en">
[...]
btw, i'm using libgtk2-gladexml-perl 0.95-1 (debian pkg).
I'm quite confused as the GtkOptionMenu of menu.pl in gtk-demo works perfectly.
-Pascal
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur
http://fr.messenger.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]