[gtk/matthiasc/for-master] docs: Document more accessible roles
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] docs: Document more accessible roles
- Date: Wed, 21 Oct 2020 03:10:08 +0000 (UTC)
commit 36d4a8090fed992401160005cd86657802019ce5
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 20 23:09:11 2020 -0400
docs: Document more accessible roles
GtkColumnView and its various components use a lot
of accessible roles.
gtk/gtkcolumnview.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c
index bc0b1b8be5..d6c8c58b73 100644
--- a/gtk/gtkcolumnview.c
+++ b/gtk/gtkcolumnview.c
@@ -105,6 +105,13 @@
* The main columnview node may also carry style classes to select
* the style of [list presentation](ListContainers.html#list-styles):
* .rich-list, .navigation-sidebar or .data-table.
+ *
+ * # Accessibility
+ *
+ * GtkColumnView uses the #GTK_ACCESSIBLE_ROLE_TREE_GRID role, header title
+ * widgets are using the #GTK_ACCESSIBLE_ROLE_COLUMN_HEADER role. The row widgets
+ * are using the #GTK_ACCESSIBLE_ROLE_ROW role, and individual cells are using
+ * the #GTK_ACCESSIBLE_ROLE_GRID_CELL role
*/
/* We create a subclass of GtkListView for the sole purpose of overriding
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]