Gradual Porting

Gradual 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.

Moving gradually to GAction

libgedit-amtk provides the following functions that can help:

Moving gradually away from 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().