Document GTK_ACCESSIBLE_ROLE_NONE

We use it for a specific purpose now, so document it.
This commit is contained in:
Matthias Clasen 2020-10-21 14:21:12 -04:00
parent b5b8f42a0c
commit 6153efd02a
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ Each role name is part of the #GtkAccessibleRole enumeration.
| `LIST` | A list of items | #GtkListBox | | `LIST` | A list of items | #GtkListBox |
| `LIST_ITEM` | An item in a list | #GtkListBoxRow | | `LIST_ITEM` | An item in a list | #GtkListBoxRow |
| `METER` | Represents a value within a known range | #GtkLevelBar | | `METER` | Represents a value within a known range | #GtkLevelBar |
| `NONE` | Not represented in the accessibility tree | the slider of a #GtkScale |
| `PROGRESS_BAR` | An element that display progress | #GtkProgressBar | | `PROGRESS_BAR` | An element that display progress | #GtkProgressBar |
| `RADIO` | A checkable input in a group of radio roles | #GtkCheckButton | | `RADIO` | A checkable input in a group of radio roles | #GtkCheckButton |
| `ROW` | A row in a columned list | #GtkColumnView | | `ROW` | A row in a columned list | #GtkColumnView |

View File

@ -1199,7 +1199,7 @@ typedef enum {
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused * @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: Unused * @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: Unused
* @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused * @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
* @GTK_ACCESSIBLE_ROLE_NONE: Unused * @GTK_ACCESSIBLE_ROLE_NONE: An element that is not represented to accessibility technologies.
* @GTK_ACCESSIBLE_ROLE_NOTE: Unused * @GTK_ACCESSIBLE_ROLE_NOTE: Unused
* @GTK_ACCESSIBLE_ROLE_OPTION: Unused * @GTK_ACCESSIBLE_ROLE_OPTION: Unused
* @GTK_ACCESSIBLE_ROLE_PRESENTATION: Unused * @GTK_ACCESSIBLE_ROLE_PRESENTATION: Unused