[gtkmm] Adding menuitem from UIManager to a context menu?
- From: Morten Brix Pedersen <morten mbrix dk>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Adding menuitem from UIManager to a context menu?
- Date: Fri, 14 May 2004 00:20:46 +0200
Hi,
I have added a the necessary UIManager, ActionGroups and Actions to add
a Menubar to my application.
Now I want to use one of these menuitems from the menubar in the
context menu of my TextView. For this I am using signal_populate_menus()
which gives me a Gtk::Menu to add MenuItems to.
How can I do something like this:
menulist.push_back(mainwindow->getUIManager()->get_widget("/MenuBar/Myitem"));
Thanks in advance.
- Morten.
--
http://mbrix.dk/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]