[gtk+/gtk-3-22] Overlay: Document style classes added per position



commit f6eb767c831611aaa425b8488b8428a7b44aae68
Author: Daniel Boles <dboles src gnome org>
Date:   Wed Sep 20 17:34:43 2017 +0100

    Overlay: Document style classes added per position

 gtk/gtkoverlay.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c
index 51be2b9..84128b5 100644
--- a/gtk/gtkoverlay.c
+++ b/gtk/gtkoverlay.c
@@ -51,6 +51,12 @@
  * The GtkOverlay implementation of the GtkBuildable interface
  * supports placing a child as an overlay by specifying “overlay” as
  * the “type” attribute of a `<child>` element.
+ *
+ * # CSS nodes
+ *
+ * GtkOverlay has a single CSS node with the name “overlay”. Overlay children
+ * whose alignments cause them to be positioned at an edge get the style classes
+ * “.left”, “.right”, “.top”, and/or “.bottom” according to their position.
  */
 
 struct _GtkOverlayPrivate


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