mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Clarify GtkH/VBox documentation
Make it clearer that GtkBox still has uses. https://bugzilla.gnome.org/show_bug.cgi?id=706269
This commit is contained in:
parent
58e9e9d316
commit
f503d4debd
@ -50,10 +50,10 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
* from #GtkBox. No further changes are needed, since the default
|
||||
* value of the #GtkOrientable:orientation property is
|
||||
* %GTK_ORIENTATION_HORIZONTAL.
|
||||
* If you want your code to be future-proof, the recommendation is to
|
||||
* switch to #GtkGrid, since #GtkBox is going to be deprecated in favor
|
||||
* of the more flexible grid widget eventually. For more information
|
||||
* about migrating to #GtkGrid, see <xref linkend="gtk-migrating-GtkGrid"/>
|
||||
* If you don't need first-child or last-child styling, and want your code
|
||||
* to be future-proof, the recommendation is to switch to #GtkGrid instead
|
||||
* of nested boxes. For more information about migrating to #GtkGrid,
|
||||
* see <xref linkend="gtk-migrating-GtkGrid"/>
|
||||
*/
|
||||
|
||||
|
||||
|
@ -55,10 +55,10 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
* gtk_orientable_set_orientation (GTK_ORIENTABLE (object),
|
||||
* GTK_ORIENTATION_VERTICAL);
|
||||
* ]|
|
||||
* If you want your code to be future-proof, the recommendation is to
|
||||
* switch to #GtkGrid, since #GtkBox is going to be deprecated in favor
|
||||
* of the more flexible grid widget eventually. For more information
|
||||
* about migrating to #GtkGrid, see <xref linkend="gtk-migrating-GtkGrid"/>.
|
||||
* If you don't need first-child or last-child styling and want your code
|
||||
* to be future-proof, the recommendation is to switch to #GtkGrid instead
|
||||
* of nested boxes. For more information about migrating to #GtkGrid,
|
||||
* see <xref linkend="gtk-migrating-GtkGrid"/>.
|
||||
*/
|
||||
|
||||
G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX)
|
||||
|
Loading…
Reference in New Issue
Block a user