summaryrefslogtreecommitdiff
path: root/gtk/gtkoverlay.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-09-20 17:34:43 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-09-20 19:19:25 +0100
commit761194dad7e532cabc627c35a38b80af015797b8 (patch)
tree1b6d92a0839b0feece933c1d1d30854176b1d84b /gtk/gtkoverlay.c
parent38d1c78ff3908a34b74ac3d5f0df48238263ad8f (diff)
downloadgtk+-761194dad7e532cabc627c35a38b80af015797b8.tar.gz
Overlay: Document style classes added per position
Diffstat (limited to 'gtk/gtkoverlay.c')
-rw-r--r--gtk/gtkoverlay.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkoverlay.c b/gtk/gtkoverlay.c
index a097a0f595..355ad9f0fc 100644
--- a/gtk/gtkoverlay.c
+++ b/gtk/gtkoverlay.c
@@ -53,6 +53,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