diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 835f4a62cf..b4c703b4e9 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -2617,27 +2617,6 @@ GTK_OFFSCREEN_WINDOW_GET_CLASS gtk_offscreen_window_get_type -
-gtkoptionmenu -GtkOptionMenu -GtkOptionMenu -gtk_option_menu_new -gtk_option_menu_get_menu -gtk_option_menu_set_menu -gtk_option_menu_remove_menu -gtk_option_menu_set_history -gtk_option_menu_get_history - -GTK_OPTION_MENU -GTK_IS_OPTION_MENU -GTK_TYPE_OPTION_MENU -GTK_OPTION_MENU_CLASS -GTK_IS_OPTION_MENU_CLASS -GTK_OPTION_MENU_GET_CLASS - -gtk_option_menu_get_type -
-
gtkpaned GtkPaned diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types index a7a185bd95..d85ae81fc3 100644 --- a/docs/reference/gtk/gtk.types +++ b/docs/reference/gtk/gtk.types @@ -102,7 +102,6 @@ gtk_mount_operation_get_type gtk_notebook_get_type gtk_object_get_type gtk_offscreen_window_get_type -gtk_option_menu_get_type gtk_orientable_get_type gtk_page_setup_get_type gtk_page_setup_unix_dialog_get_type diff --git a/docs/reference/gtk/tmpl/gtkoptionmenu.sgml b/docs/reference/gtk/tmpl/gtkoptionmenu.sgml deleted file mode 100644 index 3b58a49ca6..0000000000 --- a/docs/reference/gtk/tmpl/gtkoptionmenu.sgml +++ /dev/null @@ -1,124 +0,0 @@ - -GtkOptionMenu - - -A widget used to choose from a list of valid choices - - - -A #GtkOptionMenu is a widget that allows the user to choose from a -list of valid choices. The #GtkOptionMenu displays the selected -choice. When activated the #GtkOptionMenu displays a popup #GtkMenu -which allows the user to make a new choice. - - - -Using a #GtkOptionMenu is simple; build a #GtkMenu, by calling -gtk_menu_new(), then appending menu items to it with -gtk_menu_shell_append(). Set that menu on the option menu -with gtk_option_menu_set_menu(). Set the selected menu item with -gtk_option_menu_set_history(); connect to the "changed" signal on -the option menu; in the "changed" signal, check the new selected -menu item with gtk_option_menu_get_history(). - - - -As of GTK+ 2.4, #GtkOptionMenu has been deprecated in favor of #GtkComboBox. - - - - - - - - - - -The #GtkOptionMenu-struct struct contains private data only, and -should be accessed using the functions below. - - -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - - - -@optionmenu: the object which received the signal. - - - - - - - - - - - - - - - - - - -Creates a new #GtkOptionMenu. - - -@Returns: a new #GtkOptionMenu. -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - -Returns the #GtkMenu associated with the #GtkOptionMenu. - - -@option_menu: a #GtkOptionMenu. -@Returns: the #GtkMenu associated with the #GtkOptionMenu. -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - -Provides the #GtkMenu that is popped up to allow the user to choose -a new value. You should provide a simple menu avoiding the -use of tearoff menu items, submenus, and accelerators. - - -@option_menu: a #GtkOptionMenu. -@menu: the #GtkMenu to associate with the #GtkOptionMenu. -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - -Removes the menu from the option menu. - - -@option_menu: a #GtkOptionMenu. -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - -Selects the menu item specified by @index_ making it the newly -selected value for the option menu. - - -@option_menu: a #GtkOptionMenu. -@index_: the index of the menu item to select. Index values are from 0 to n-1. -@Deprecated: 2.4: Use #GtkComboBox instead. - - - - - - - -@option_menu: -@Returns: - - diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index a17b027aea..3d04a2153e 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -2199,18 +2199,6 @@ gtk_orientable_set_orientation #endif #endif -#if IN_HEADER(__GTK_OPTION_MENU_H__) -#if IN_FILE(__GTK_OPTION_MENU_C__) -gtk_option_menu_get_history -gtk_option_menu_get_menu -gtk_option_menu_get_type G_GNUC_CONST -gtk_option_menu_new -gtk_option_menu_remove_menu -gtk_option_menu_set_history -gtk_option_menu_set_menu -#endif -#endif - #if IN_HEADER(__GTK_PANED_H__) #if IN_FILE(__GTK_PANED_C__) gtk_paned_add1