mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
docs: Stop taking menubar screenshots
The widget is going away.
This commit is contained in:
parent
62e9ea412a
commit
80e903afeb
@ -800,32 +800,6 @@ create_toolbar (void)
|
|||||||
return new_widget_info ("toolbar", widget, SMALL);
|
return new_widget_info ("toolbar", widget, SMALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static WidgetInfo *
|
|
||||||
create_menubar (void)
|
|
||||||
{
|
|
||||||
GtkWidget *widget, *vbox, *item;
|
|
||||||
|
|
||||||
widget = gtk_menu_bar_new ();
|
|
||||||
|
|
||||||
item = gtk_menu_item_new_with_mnemonic ("_File");
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (widget), item);
|
|
||||||
|
|
||||||
item = gtk_menu_item_new_with_mnemonic ("_Edit");
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (widget), item);
|
|
||||||
|
|
||||||
item = gtk_menu_item_new_with_mnemonic ("_Help");
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (widget), item);
|
|
||||||
|
|
||||||
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
|
|
||||||
gtk_widget_set_halign (widget, GTK_ALIGN_FILL);
|
|
||||||
gtk_widget_set_valign (widget, GTK_ALIGN_CENTER);
|
|
||||||
gtk_container_add (GTK_CONTAINER (vbox), widget);
|
|
||||||
gtk_container_add (GTK_CONTAINER (vbox),
|
|
||||||
gtk_label_new ("Menu Bar"));
|
|
||||||
|
|
||||||
return new_widget_info ("menubar", vbox, SMALL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static WidgetInfo *
|
static WidgetInfo *
|
||||||
create_message_dialog (void)
|
create_message_dialog (void)
|
||||||
{
|
{
|
||||||
@ -1438,7 +1412,6 @@ get_all_widgets (void)
|
|||||||
retval = g_list_prepend (retval, create_image ());
|
retval = g_list_prepend (retval, create_image ());
|
||||||
retval = g_list_prepend (retval, create_label ());
|
retval = g_list_prepend (retval, create_label ());
|
||||||
retval = g_list_prepend (retval, create_link_button ());
|
retval = g_list_prepend (retval, create_link_button ());
|
||||||
retval = g_list_prepend (retval, create_menubar ());
|
|
||||||
retval = g_list_prepend (retval, create_message_dialog ());
|
retval = g_list_prepend (retval, create_message_dialog ());
|
||||||
retval = g_list_prepend (retval, create_notebook ());
|
retval = g_list_prepend (retval, create_notebook ());
|
||||||
retval = g_list_prepend (retval, create_panes ());
|
retval = g_list_prepend (retval, create_panes ());
|
||||||
|
Loading…
Reference in New Issue
Block a user