GtkUIManager
- From: Harring Figueiredo <harringf yahoo com>
- To: gtk dist List List <gtk-app-devel-list gnome org>
- Subject: GtkUIManager
- Date: Mon, 6 Dec 2004 13:19:13 -0800 (PST)
Folks:
On the main UI, I have the XML for the menu:
"<ui>"
"<menu action='ToolsMenu'>"
" <menuitem action='AboutTools'/>"
" <menu name='test'/>"
"</menu>"
".. more junk in here..."
Now, I am trying to append a menu when making a call to the plugins, I cannot
attach to ToolsMenu because that already has the submenu set.
I get the widget by calling:
pm = gtk_ui_manager_get_widget (ui, "/ui/ToolsMenu");
How can I attach the plugins' menu to the Tools menu ?
Tools
+- About tools
+- Plugin1 Menu
+- Pluing2 Menu
Thanks for any help.
Harring.
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]