diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-06-04 21:48:41 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-06-04 21:48:41 -0400 |
commit | 5e69fe17aebbd3c845ac12a00778080d8865f940 (patch) | |
tree | 38ee8908d7bbe2bde662dec69820ea4d909957d9 /gtk/gtkcenterbox.c | |
parent | 23f870d0cd350e8049bfc333c3036717386819e3 (diff) | |
download | gtk+-5e69fe17aebbd3c845ac12a00778080d8865f940.tar.gz |
center box: Add more documentation
Diffstat (limited to 'gtk/gtkcenterbox.c')
-rw-r--r-- | gtk/gtkcenterbox.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 495a062c23..378fc968d7 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. |