docs: Expand role docs
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 12:26:38 +0000 (08:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 12:28:54 +0000 (08:28 -0400)
Clarify that presentation and none
can be used interchangeably.

gtk/gtkenums.h

index 9f9f5615b893e3d72557b574b738232b95f51ff2..53fbee0b618360a557dc3c9d89b74bb943e78799 100644 (file)
@@ -1286,9 +1286,11 @@ typedef enum {
  * @GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO: A radio item in a menu.
  * @GTK_ACCESSIBLE_ROLE_NAVIGATION: Unused
  * @GTK_ACCESSIBLE_ROLE_NONE: An element that is not represented to accessibility technologies.
+ *   This role is synonymous to @GTK_ACCESSIBLE_ROLE_PRESENTATION.
  * @GTK_ACCESSIBLE_ROLE_NOTE: Unused
  * @GTK_ACCESSIBLE_ROLE_OPTION: Unused
  * @GTK_ACCESSIBLE_ROLE_PRESENTATION: An element that is not represented to accessibility technologies.
+ *   This role is synonymous to @GTK_ACCESSIBLE_ROLE_NONE.
  * @GTK_ACCESSIBLE_ROLE_PROGRESS_BAR: An element that displays the progress
  *    status for tasks that take a long time.
  * @GTK_ACCESSIBLE_ROLE_RADIO: A checkable input in a group of radio roles,