Gradual PortingGradual Porting — Gradually porting away from GtkAction and GtkUIManager. |
Even if you don't want to use libgedit-amtk in the end, libgedit-amtk can help to gradually move away from GtkAction and GtkUIManager.
For example if you have already ported a submenu, but not the whole menu, you can use the gtk_ui_manager_get_widget() function to get a GtkMenuItem, and then set the submenu with gtk_menu_item_set_submenu().