docs: Document more accessible roles

GtkListView and GtkGridView were missing this as well.
This commit is contained in:
Matthias Clasen 2020-10-20 22:53:30 -04:00
parent 2023914186
commit 341244203f
2 changed files with 10 additions and 0 deletions

View File

@ -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;

View File

@ -135,6 +135,11 @@
* The main listview 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
*
* GtkListView uses the #GTK_ACCESSIBLE_ROLE_LIST role, and the list
* items use the #GTK_ACCESSIBLE_ROLE_LIST_ITEM role.
*/
typedef struct _ListRow ListRow;