2014-01-30 16:44, Szőke Szabolcs skrev:
I haven't used Gtk::UIManager::add_ui(), and I don't know of any examples, but I found these gtk+ tests that use gtk_ui_manager_add_ui(): https://git.gnome.org/browse/gtk+/tree/tests/testactions.c https://git.gnome.org/browse/gtk+/tree/tests/testmerge.c These files are used by testmerge.c: https://git.gnome.org/browse/gtk+/tree/tests/merge-1.ui https://git.gnome.org/browse/gtk+/tree/tests/merge-2.ui https://git.gnome.org/browse/gtk+/tree/tests/merge-3.ui Hope this code can give you some hints how to use add_ui(). Kjell |