In GtkosxApplication I am unable to find functions:
gtkosx_application_add_app_menu_group()
gtkosx_application_add_app_menu_item()
which are used in the example below, reported in GtkosxApplication: gtk-mac-integration Reference Manual
GtkosxApplicationMenuGroup *group; GtkMenuItem *about_item, *preferences_item; about_item = gtk_ui_manager_get_widget(mgr, “/menubar/Help/About”); preferences_item = gtk_ui_manager_get_widget(mgr, “/menubar/Edit/Preferences”);
group = gtkosx_application_add_app_menu_group (theApp); gtkosx_application_add_app_menu_item (theApp, group, GTK_MENU_ITEM (about_item));
group = gtkosx_application_add_app_menu_group (theApp); gtkosx_application_add_app_menu_item (theApp, group, GTK_MENU_ITEM (preferences_item));
Would it be possible for anyone to please share a working C code which builds some simple menus in macOS, with GtkosxApplication, which I can take as an example to test and learn? File/Save, File/load, Quit will do.
Many thanks
Al