[gtkmm] Adding menuitem from UIManager to a context menu?


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:


Thanks in advance.

  - Morten.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]