missing functions - need working example code
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 https://jralls.github.io/gtk-mac-integration/GtkosxApplication.html
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 you to share a working C code which builds some simple menus in macOS, which I can take as an example to test and learn? File/Save, File/load, Quit will do.
Many thanks Al