Deprecated GtkNotebook tab packing

https://bugzilla.gnome.org/show_bug.cgi?id=596083
This commit is contained in:
Christian Dywan
2009-10-21 18:25:02 +02:00
parent 7c6823373a
commit 272e0b5b76
4 changed files with 12 additions and 1 deletions

View File

@ -256,7 +256,8 @@ Emitted when the user or a function changes the current page.
<!-- ##### ARG GtkNotebook:tab-pack ##### -->
<para>
Deprecated: 2.20: The tab packing functionality of children should not
be used anymore and support will be removed in the future.
</para>
<!-- ##### ARG GtkNotebook:arrow-spacing ##### -->

View File

@ -2634,7 +2634,9 @@ gtk_notebook_popup_enable
gtk_notebook_prepend_page
gtk_notebook_prepend_page_menu
gtk_notebook_prev_page
#ifndef GTK_DISABLE_DEPRECATED
gtk_notebook_query_tab_label_packing
#endif
gtk_notebook_remove_page
gtk_notebook_reorder_child
gtk_notebook_set_current_page
@ -2650,7 +2652,9 @@ gtk_notebook_set_scrollable
gtk_notebook_set_show_border
gtk_notebook_set_show_tabs
gtk_notebook_set_tab_label
#ifndef GTK_DISABLE_DEPRECATED
gtk_notebook_set_tab_label_packing
#endif
gtk_notebook_set_tab_label_text
gtk_notebook_set_tab_pos
gtk_notebook_set_window_creation_hook

View File

@ -7198,6 +7198,8 @@ gtk_notebook_child_reordered (GtkNotebook *notebook,
* Sets the packing parameters for the tab label of the page
* containing @child. See gtk_box_pack_start() for the exact meaning
* of the parameters.
*
* Deprecated: 2.20: Modify the "expand" and "fill" child properties instead.
**/
void
gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
@ -7249,6 +7251,8 @@ gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
*
* Query the packing attributes for the tab label of the page
* containing @child.
*
* Deprecated: 2.20: Modify the "expand" and "fill" child properties instead.
**/
void
gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,

View File

@ -261,6 +261,7 @@ void gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
const gchar *menu_text);
G_CONST_RETURN gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
GtkWidget *child);
#ifndef GTK_DISABLE_DEPRECATED
void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
GtkWidget *child,
gboolean *expand,
@ -271,6 +272,7 @@ void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
gboolean expand,
gboolean fill,
GtkPackType pack_type);
#endif
void gtk_notebook_reorder_child (GtkNotebook *notebook,
GtkWidget *child,
gint position);