forked from AuroraMiddleware/gtk
a11y: Document roles used in menu
This commit is contained in:
parent
88eb3a9c34
commit
5f8c6d2287
@ -56,6 +56,11 @@ Each role name is part of the #GtkAccessibleRole enumeration.
|
|||||||
| `LABEL` | A visible name or caption for a user interface component | #GtkLabel |
|
| `LABEL` | A visible name or caption for a user interface component | #GtkLabel |
|
||||||
| `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 |
|
||||||
|
| `MENU` | A menu | #GtkPopoverMenu |
|
||||||
|
| `MENU_BAR` | A menubar | #GtkPopoverMenuBar |
|
||||||
|
| `MENU_ITEM` | A menu item | Items in #GtkPopoverMenu |
|
||||||
|
| `MENU_ITEM_CHECKBOX` | Check menu item | Items in #GtkPopoverMenu |
|
||||||
|
| `MENU_ITEM_RADIO` | Radio menu item | Items in #GtkPopoverMenu |
|
||||||
| `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 |
|
| `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 |
|
||||||
|
@ -1193,11 +1193,11 @@ typedef enum {
|
|||||||
* @GTK_ACCESSIBLE_ROLE_MARQUEE: Unused
|
* @GTK_ACCESSIBLE_ROLE_MARQUEE: Unused
|
||||||
* @GTK_ACCESSIBLE_ROLE_MATH: Unused
|
* @GTK_ACCESSIBLE_ROLE_MATH: Unused
|
||||||
* @GTK_ACCESSIBLE_ROLE_METER: An element that represents a value within a known range.
|
* @GTK_ACCESSIBLE_ROLE_METER: An element that represents a value within a known range.
|
||||||
* @GTK_ACCESSIBLE_ROLE_MENU: Unused
|
* @GTK_ACCESSIBLE_ROLE_MENU: A menu.
|
||||||
* @GTK_ACCESSIBLE_ROLE_MENU_BAR: Unused
|
* @GTK_ACCESSIBLE_ROLE_MENU_BAR: A menubar.
|
||||||
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM: Unused
|
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM: An item in a menu.
|
||||||
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: Unused
|
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX: A check item in a menu.
|
||||||
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: Unused
|
* @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: A radio item in a menu.
|
||||||
* @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
|
* @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
|
||||||
* @GTK_ACCESSIBLE_ROLE_NONE: An element that is not represented to accessibility technologies.
|
* @GTK_ACCESSIBLE_ROLE_NONE: An element that is not represented to accessibility technologies.
|
||||||
* @GTK_ACCESSIBLE_ROLE_NOTE: Unused
|
* @GTK_ACCESSIBLE_ROLE_NOTE: Unused
|
||||||
|
Loading…
Reference in New Issue
Block a user