summaryrefslogtreecommitdiff
path: root/gtk/gtkgridview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-10-20 22:53:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-10-20 22:53:30 -0400
commit341244203fd43a424f05679dbb6e8ef013d03511 (patch)
tree0379b09744076d78aac49fefee0e284625fb2c3f /gtk/gtkgridview.c
parent2023914186f4c2b737e78ed3e1989e0765930457 (diff)
downloadgtk+-341244203fd43a424f05679dbb6e8ef013d03511.tar.gz
docs: Document more accessible roles
GtkListView and GtkGridView were missing this as well.
Diffstat (limited to 'gtk/gtkgridview.c')
-rw-r--r--gtk/gtkgridview.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c
index 8c24afc9e1..1f3b4c37ef 100644
--- a/gtk/gtkgridview.c
+++ b/gtk/gtkgridview.c
@@ -77,6 +77,11 @@
* 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.
+ *
+ * # Accessibility
+ *
+ * GtkGridView uses the #GTK_ACCESSIBLE_ROLE_GRID role, and the items
+ * use the #GTK_ACCESSIBLE_ROLE_GRID_CELL role.
*/
typedef struct _Cell Cell;