[gtk/matthiasc/for-master: 1/2] Document GTK_ACCESSIBLE_ROLE_NONE




commit 6153efd02acfb706d7a56898c7e97372d5fca924
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 21 14:21:12 2020 -0400

    Document GTK_ACCESSIBLE_ROLE_NONE
    
    We use it for a specific purpose now, so document it.

 docs/reference/gtk/section-accessibility.md | 1 +
 gtk/gtkenums.h                              | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]