binlayout: Convert docs

This commit is contained in:
Matthias Clasen 2021-02-27 17:51:24 -05:00 committed by Emmanuele Bassi
parent c611fcc709
commit 1a501e3d53

View File

@ -16,16 +16,15 @@
*/ */
/** /**
* SECTION:gtkbinlayout * GtkBinLayout:
* @Title: GtkBinLayout
* @Short_description: A layout manager for bin-like widgets
* @Include: gtk/gtk.h
* *
* GtkBinLayout is a #GtkLayoutManager subclass useful for create "bins" of * `GtkBinLayout` is a `GtkLayoutManager` subclass useful for create "bins" of
* widgets. GtkBinLayout will stack each child of a widget on top of each * widgets.
* other, using the #GtkWidget:hexpand, #GtkWidget:vexpand, #GtkWidget:halign, *
* and #GtkWidget:valign properties of each child to determine where they * `GtkBinLayout` will stack each child of a widget on top of each other,
* should be positioned. * using the [property@Gtk.Widget:hexpand], [property@Gtk.Widget:vexpand],
* [property@Gtk.Widget:halign], and [property@Gtk.Widget:valign] properties
* of each child to determine where they should be positioned.
*/ */
#include "config.h" #include "config.h"
@ -113,9 +112,9 @@ gtk_bin_layout_init (GtkBinLayout *self)
/** /**
* gtk_bin_layout_new: * gtk_bin_layout_new:
* *
* Creates a new #GtkBinLayout instance. * Creates a new `GtkBinLayout` instance.
* *
* Returns: the newly created #GtkBinLayout * Returns: the newly created `GtkBinLayout`
*/ */
GtkLayoutManager * GtkLayoutManager *
gtk_bin_layout_new (void) gtk_bin_layout_new (void)