mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
gtk[h/v]box: Recommend the use of GtkGrid.
This commit is contained in:
parent
18c8fe52f0
commit
17ae6b2e0d
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user