Package: gtk

GEnum gtk:accessible-role

Declaration

(gobject:define-genum "GtkAccessibleRole" accessible-role
  (:export t
   :type-initializer "gtk_accessible_role_get_type")
  (:alert 0)
  (:alert-dialog 1)
  (:banner 2)
  (:button 3)
  (:caption 4)
  (:cell 5)
  (:checkbox 6)
  (:column-header 7)
  (:combo-box 8)
  (:command 9)
  (:composite 10)
  (:dialog 11)
  (:document 12)
  (:feed 13)
  (:form 14)
  (:generic 15)
  (:grid 16)
  (:grid-cell 17)
  (:group 18)
  (:heading 19)
  (:img 20)
  (:input 21)
  (:label 22)
  (:landmark 23)
  (:legend 24)
  (:link 25)
  (:list 26)
  (:list-box 27)
  (:list-item 28)
  (:log 29)
  (:main 30)
  (:marquee 31)
  (:math 32)
  (:meter 33)
  (:menu 34)
  (:menu-bar 35)
  (:menu-item 36)
  (:menu-item-checkbox 37)
  (:menu-item-radio 38)
  (:navigation 39)
  (:none 40)
  (:note 41)
  (:option 42)
  (:presentation 43)
  (:progress-bar 44)
  (:radio 45)
  (:radio-group 46)
  (:range 47)
  (:region 48)
  (:row 49)
  (:row-group 50)
  (:row-header 51)
  (:scrollbar 52)
  (:search 53)
  (:search-box 54)
  (:section 55)
  (:section-head 56)
  (:select 57)
  (:separator 58)
  (:slider 59)
  (:spin-button 60)
  (:status 61)
  (:structure 62)
  (:switch 63)
  (:tab 64)
  (:table 65)
  (:tab-list 66)
  (:tab-panel 67)
  (:text-box 68)
  (:time 69)
  (:timer 70)
  (:toolbar 71)
  (:tooltip 72)
  (:tree 73)
  (:tree-grid 74)
  (:tree-item 75)
  (:widget 76)
  (:window 77)
  (:toggle-button 78)
  (:application 79)
  (:paragraph 80)
  (:block-quote 81)
  (:article 82)
  (:comment 83)
  (:terminal 84))  

Values

:alert
An element with important, and usually time-sensitive, information.
:alert-dialog
A type of dialog that contains an alert message.
:banner
Unused.
:button
An input element that allows for user-triggered actions when clicked or pressed.
:caption, :cell
Unused.
:checkbox
A checkable input element that has three possible values: :false, :true , or :mixed.
:column-header
A header in a columned list.
:combo-box
An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the input.
:command, :composite
Abstract role.
:dialog
A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.
:document
Content that assistive technology users may want to browse in a reading mode.
:feed, :form
Unused.
A nameless container that has no semantic meaning of its own. This is the role that GTK uses by default for widgets.
:grid
A grid of items.
:grid-cell
An item in a grid or tree grid.
:group
An element that groups multiple widgets. GTK uses this role for various containers, like the gtk:header-bar or gtk:notebook widgets.
:heading
Unused.
:img
An image.
:input
Abstract role.
:label
A visible name or caption for a user interface component.
:landmark
Abstract role.
:legend
Unused.
:link
A clickable link.
:list
A list of items.
:list-box
Unused.
:list-item
An item in a list.
:log, :main, :marquee, :math
Unused.
:meter
An element that represents a value within a known range.
:menu
A menu.
:menu-bar
A menubar.
:menu-item
An item in a menu.
:menu-item-checkbox
A check item in a menu.
:menu-item-radio
A radio item in a menu.
:navigation
Unused.
:none
An element that is not represented to accessibility technologies. This role is synonymous to :presentation.
:note, :option
Unused.
:presentation
An element that is not represented to accessibility technologies. This role is synonymous to :none.
:progress-bar
An element that displays the progress status for tasks that take a long time.
:radio
A checkable input in a group of radio roles, only one of which can be checked at a time.
:radio-group
Unused.
:range
Abstract role.
:region
Unused.
:row
A row in a columned list.
:row-group, :row-header
Unused.
:scrollbar
A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.
:search
Unused.
:search-box
A type of textbox intended for specifying search criteria.
:section. :section-head
Abstract role.
:select
Abstract role.
:separator
A divider that separates and distinguishes sections of content or groups of menuitems.
:slider
A user input where the user selects a value from within a given range.
:spin-button
A form of range that expects the user to select from among discrete choices.
:status
Unused.
:structure
Abstract role.
:switch
A type of checkbox that represents on/off values, as opposed to checked/unchecked values.
:tab
An item in a list of tab used for switching pages.
:table
Unused.
:tab-list
A list of tabs for switching pages.
:tab-panel
A page in a notebook or stack.
:text-box
A type of input that allows free-form text as its value.
:time, :timer, :toolbar, :tooltip, :tree
Unused.
:tree-grid
A treeview-like, columned list.
:tree-item
Unused.
:widget
Abstract role for interactive components of a graphical user interface.
:window
Abstract role for windows.
:toggle-button
A type of push button which stays pressed until depressed by a second activation. Since: 4.10
:application
A toplevel element of a graphical user interface. This is the role that GTK uses by default for windows. Since 4.12
:paragraph
A paragraph of content. Since 4.14
:block-quote
A section of content that is quoted from another source. Since 4.14
:article
A section of a page that consists of a composition that forms an independent part of a document, page, or site. Since 4.14
:comment
A comment contains content expressing reaction to other content. Since 4.14
:terminal
A virtual terminal. Since 4.14

Details

The accessible role for a gtk:accessible implementation. Abstract roles are only used as part of the ontology. Application developers must not use abstract roles in their code.
 

See also

2026-08-25