diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-20 22:51:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-20 22:51:11 -0400 |
commit | 2023914186f4c2b737e78ed3e1989e0765930457 (patch) | |
tree | a913503985859e968e32dbfc72eed8a4246b98e9 | |
parent | ef9ec43469c114f90174772a796813367b081a3a (diff) | |
download | gtk+-2023914186f4c2b737e78ed3e1989e0765930457.tar.gz |
docs: Document accessible roles of some classes
GtkListBox and GtkFlowBox were missing this.
-rw-r--r-- | gtk/gtkflowbox.c | 5 | ||||
-rw-r--r-- | gtk/gtklistbox.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 79106c74c6..0ec12db7e4 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -69,6 +69,11 @@ * GtkFlowBox uses a single CSS node with name flowbox. GtkFlowBoxChild * uses a single CSS node with name flowboxchild. * For rubberband selection, a subnode with name rubberband is used. + * + * # Accessibility + * + * GtkFlowBox uses the #GTK_ACCESSIBLE_ROLE_GRID role, and GtkFlowBoxChild + * uses the #GTK_ACCESSIBLE_ROLE_GRID_CELL role. */ #include <config.h> diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index b6612f34c7..f08e3bf559 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -85,6 +85,11 @@ * The main list 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 + * + * GtkListBox uses the #GTK_ACCESSIBLE_ROLE_LIST role and GtkListBoxRow uses + * the #GTK_ACCESSIBLE_ROLE_LIST_ITEM role. */ typedef struct _GtkListBoxClass GtkListBoxClass; |