[gtk+] center box: Add more documentation



commit 5e69fe17aebbd3c845ac12a00778080d8865f940
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 4 21:48:41 2017 -0400

    center box: Add more documentation

 gtk/gtkcenterbox.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c
index 495a062..378fc96 100644
--- a/gtk/gtkcenterbox.c
+++ b/gtk/gtkcenterbox.c
@@ -31,6 +31,15 @@
  * To add children to GtkCenterBox, use gtk_center_box_set_start_widget(),
  * gtk_center_box_set_center_widget() and gtk_center_box_set_end_widget().
  *
+ * The sizing and positioning of children can be influenced with the
+ * align and expand properties of the children.
+ *
+ * # GtkCenterBox as GtkBuildable
+ *
+ * The GtkCenterBox implementation of the GtkBuildable interface supports
+ * placing children in the 3 positions by specifying “start”, “center” or
+ * “end” as the “type” attribute of a <child> element.
+ *
  * # CSS nodes
  *
  * GtkCenterBox uses a single CSS node with name box.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]