summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-10-21 14:21:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-10-21 14:21:12 -0400
commit6153efd02acfb706d7a56898c7e97372d5fca924 (patch)
tree542366d68db4a0bbc0275512d4cf6f9bfbc6b632
parentb5b8f42a0c6ac94722c62a27c0635b6484f5d72d (diff)
downloadgtk+-6153efd02acfb706d7a56898c7e97372d5fca924.tar.gz
Document GTK_ACCESSIBLE_ROLE_NONE
We use it for a specific purpose now, so document it.
-rw-r--r--docs/reference/gtk/section-accessibility.md1
-rw-r--r--gtk/gtkenums.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/reference/gtk/section-accessibility.md b/docs/reference/gtk/section-accessibility.md
index 3afb747026..b73211ee17 100644
--- a/docs/reference/gtk/section-accessibility.md
+++ b/docs/reference/gtk/section-accessibility.md
@@ -57,6 +57,7 @@ Each role name is part of the #GtkAccessibleRole enumeration.
| `LIST` | A list of items | #GtkListBox |
| `LIST_ITEM` | An item in a list | #GtkListBoxRow |
| `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 |
| `RADIO` | A checkable input in a group of radio roles | #GtkCheckButton |
| `ROW` | A row in a columned list | #GtkColumnView |
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 561a273b59..36e90b71bb 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1199,7 +1199,7 @@ typedef enum {
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: 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_OPTION: Unused
* @GTK_ACCESSIBLE_ROLE_PRESENTATION: Unused