[gtk+] GtkOverlay: Update the description
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkOverlay: Update the description
- Date: Fri, 21 Aug 2015 22:21:12 +0000 (UTC)
commit bff28ac6b00c3420e2b0304b84c1b253abcb9aa8
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 21 18:19:26 2015 -0400
GtkOverlay: Update the description
State that the overlays are placed wrt to the GtkOverlay, not
with respect to the main widget. This makes a difference for
small main widgets which are not configured to fill the entire
GtkOverlay.
gtk/gtkoverlay.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c
index cbad6b8..7a7d6e1 100644
--- a/gtk/gtkoverlay.c
+++ b/gtk/gtkoverlay.c
@@ -34,14 +34,14 @@
* @title: GtkOverlay
*
* GtkOverlay is a container which contains a single main child, on top
- * of which it can place “overlay” widgets. The
- * position of each overlay widget is determined by its #GtkWidget:halign
- * and #GtkWidget:valign properties. E.g. a widget with both alignments
- * set to %GTK_ALIGN_START will be placed at the top left corner of the
- * main widget, whereas an overlay with halign set to %GTK_ALIGN_CENTER
- * and valign set to %GTK_ALIGN_END will be placed a the bottom edge of
- * the main widget, horizontally centered. The position can be adjusted
- * by setting the margin properties of the child to non-zero values.
+ * of which it can place “overlay” widgets. The position of each overlay
+ * widget is determined by its #GtkWidget:halign and #GtkWidget:valign
+ * properties. E.g. a widget with both alignments set to %GTK_ALIGN_START
+ * will be placed at the top left corner of the GtkOverlay container,
+ * whereas an overlay with halign set to %GTK_ALIGN_CENTER and valign set
+ * to %GTK_ALIGN_END will be placed a the bottom edge of the GtkOverlay,
+ * horizontally centered. The position can be adjusted by setting the margin
+ * properties of the child to non-zero values.
*
* More complicated placement of overlays is possible by connecting
* to the #GtkOverlay::get-child-position signal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]