Gradual Porting
Gradual Porting —
Gradually porting away from GtkAction and
GtkUIManager.
|
|
Even if you don't want to use Amtk in the end, Amtk can help to gradually move
away from GtkAction and
GtkUIManager.
Moving gradually to GAction
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().