summaryrefslogtreecommitdiff
path: root/gtk/gtkgridview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-04 10:05:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-06-04 10:05:17 -0400
commit51c6ce1734cbd782b64ad1e79829850e17d520b7 (patch)
treee15ffd2a189e09c5a14c95af87a681ea6ca7aa6a /gtk/gtkgridview.c
parent627497f94245605908d79429705ddce5875e431a (diff)
downloadgtk+-51c6ce1734cbd782b64ad1e79829850e17d520b7.tar.gz
list widgets: Document css structure
We didn't fill in this expected part of the widget documentation yet.
Diffstat (limited to 'gtk/gtkgridview.c')
-rw-r--r--gtk/gtkgridview.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c
index d16357a17b..855ee7a0fa 100644
--- a/gtk/gtkgridview.c
+++ b/gtk/gtkgridview.c
@@ -48,6 +48,22 @@
* @see_also: #GListModel
*
* GtkGridView is a widget to present a view into a large dynamic grid of items.
+ *
+ * # CSS nodes
+ *
+ * |[<!-- language="plain" -->
+ * gridview
+ * ├── child
+ * │
+ * ├── child
+ * │
+ * ┊
+ * ╰── [rubberband]
+ * ]|
+ *
+ * GtkGridView uses a single CSS node with name gridview. Each child
+ * uses a single CSS node with name child. For rubberband selection,
+ * a subnode with name rubberband is used.
*/
typedef struct _Cell Cell;