gtk[h/v]box: Recommend the use of GtkGrid.

This commit is contained in:
Javier Jardón 2011-06-08 13:25:54 +01:00
parent 18c8fe52f0
commit 17ae6b2e0d
2 changed files with 16 additions and 4 deletions

View File

@ -44,7 +44,10 @@
*
* All children are allocated the same height.
*
* GtkHBox has been deprecated, use #GtkBox instead.
* GtkHBox has been deprecated, you can use #GtkBox instead, which is a very
* quick and easy change. But the recommendation is to switch to #GtkGrid, since
* #GtkBox is going to go away eventually.
* See <xref linkend="gtk-migrating-GtkGrid"/>
*/
@ -73,7 +76,10 @@ gtk_hbox_init (GtkHBox *hbox)
*
* Returns: a new #GtkHBox.
*
* Deprecated: 3.2: Use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead
* Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead,
* wich is a very quick and easy change. But the recommendation is to switch to
* #GtkGrid, since #GtkBox is going to go away eventually.
* See <xref linkend="gtk-migrating-GtkGrid"/>.
*/
GtkWidget *
gtk_hbox_new (gboolean homogeneous,

View File

@ -44,7 +44,10 @@
*
* All children are allocated the same width.
*
* GtkVBox has been deprecated, use #GtkBox instead.
* GtkVBox has been deprecated, you can use #GtkBox instead, which is a very
* quick and easy change. But the recommendation is to switch to #GtkGrid, since
* #GtkBox is going to go away eventually.
* See <xref linkend="gtk-migrating-GtkGrid"/>
*/
G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX)
@ -72,7 +75,10 @@ gtk_vbox_init (GtkVBox *vbox)
*
* Returns: a new #GtkVBox.
*
* Deprecated: 3.2: Use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead
* Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead,
* wich is a very quick and easy change. But the recommendation is to switch to
* #GtkGrid, since #GtkBox is going to go away eventually.
* See <xref linkend="gtk-migrating-GtkGrid"/>.
*/
GtkWidget *
gtk_vbox_new (gboolean homogeneous,