The _set_show_app_menu should really be _set_show_menubar(). Also, correctly display just the window menu in the window when run under GNOME 3.
This is a GtkWindow subclass that "application windows" will use. Each is associated with a GtkApplication, has the ability to show menus and will have its own associated set of actions.