diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index 24adfce16c..43127c217f 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -51,6 +51,31 @@ * automatically show the menu as part of a menubar. This behaviour * can be overridden with the #GtkApplicationWindow:show-menubar * property. + * + * A GtkApplicationWindow with a menubar + * " + * " " + * " " + * " " + * " " + * " " + * " " + * ""); + * g_application_set_menubar (G_APPLICATION (app), + * G_MENU_MODEL (gtk_builder_get_object (builder, "menubar"))); + * g_object_unref (builder); + * + * ... + * + * window = gtk_application_window_new (app); + * ]]> + * + * */ struct _GtkApplicationWindowPrivate {