File indexing completed on 2024-09-15 05:03:24
0001 # SPDX-License-Identifier: AGPL-3.0-or-later 0002 # SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org> 0003 0004 import pyatspi 0005 0006 ROLE_NAMES = { 0007 pyatspi.ROLE_INVALID:'invalid', 0008 pyatspi.ROLE_ACCELERATOR_LABEL:'accelerator label', 0009 pyatspi.ROLE_ALERT:'alert', 0010 pyatspi.ROLE_ANIMATION:'animation', 0011 pyatspi.ROLE_ARROW:'arrow', 0012 pyatspi.ROLE_CALENDAR:'calendar', 0013 pyatspi.ROLE_CANVAS:'canvas', 0014 pyatspi.ROLE_CHECK_BOX:'check box', 0015 pyatspi.ROLE_CHECK_MENU_ITEM:'check menu item', 0016 pyatspi.ROLE_COLOR_CHOOSER:'color chooser', 0017 pyatspi.ROLE_COLUMN_HEADER:'column header', 0018 pyatspi.ROLE_COMBO_BOX:'combo box', 0019 pyatspi.ROLE_DATE_EDITOR:'dateeditor', 0020 pyatspi.ROLE_DESKTOP_ICON:'desktop icon', 0021 pyatspi.ROLE_DESKTOP_FRAME:'desktop frame', 0022 pyatspi.ROLE_DIAL:'dial', 0023 pyatspi.ROLE_DIALOG:'dialog', 0024 pyatspi.ROLE_DIRECTORY_PANE:'directory pane', 0025 pyatspi.ROLE_DRAWING_AREA:'drawing area', 0026 pyatspi.ROLE_FILE_CHOOSER:'file chooser', 0027 pyatspi.ROLE_FILLER:'filler', 0028 pyatspi.ROLE_FONT_CHOOSER:'font chooser', 0029 pyatspi.ROLE_FRAME:'frame', 0030 pyatspi.ROLE_GLASS_PANE:'glass pane', 0031 pyatspi.ROLE_HTML_CONTAINER:'html container', 0032 pyatspi.ROLE_ICON:'icon', 0033 pyatspi.ROLE_IMAGE:'image', 0034 pyatspi.ROLE_INTERNAL_FRAME:'internal frame', 0035 pyatspi.ROLE_LABEL:'label', 0036 pyatspi.ROLE_LAYERED_PANE:'layered pane', 0037 pyatspi.ROLE_LIST:'list', 0038 pyatspi.ROLE_LIST_ITEM:'list item', 0039 pyatspi.ROLE_MENU:'menu', 0040 pyatspi.ROLE_MENU_BAR:'menu bar', 0041 pyatspi.ROLE_MENU_ITEM:'menu item', 0042 pyatspi.ROLE_OPTION_PANE:'option pane', 0043 pyatspi.ROLE_PAGE_TAB:'page tab', 0044 pyatspi.ROLE_PAGE_TAB_LIST:'page tab list', 0045 pyatspi.ROLE_PANEL:'panel', 0046 pyatspi.ROLE_PASSWORD_TEXT:'password text', 0047 pyatspi.ROLE_POPUP_MENU:'popup menu', 0048 pyatspi.ROLE_PROGRESS_BAR:'progress bar', 0049 pyatspi.ROLE_PUSH_BUTTON:'push button', 0050 pyatspi.ROLE_RADIO_BUTTON:'radio button', 0051 pyatspi.ROLE_RADIO_MENU_ITEM:'radio menu item', 0052 pyatspi.ROLE_ROOT_PANE:'root pane', 0053 pyatspi.ROLE_ROW_HEADER:'row header', 0054 pyatspi.ROLE_SCROLL_BAR:'scroll bar', 0055 pyatspi.ROLE_SCROLL_PANE:'scroll pane', 0056 pyatspi.ROLE_SEPARATOR:'separator', 0057 pyatspi.ROLE_SLIDER:'slider', 0058 pyatspi.ROLE_SPLIT_PANE:'split pane', 0059 pyatspi.ROLE_SPIN_BUTTON:'spin button', 0060 pyatspi.ROLE_STATUS_BAR:'status bar', 0061 pyatspi.ROLE_TABLE:'table', 0062 pyatspi.ROLE_TABLE_CELL:'table cell', 0063 pyatspi.ROLE_TABLE_COLUMN_HEADER:'table column header', 0064 pyatspi.ROLE_TABLE_ROW_HEADER:'table row header', 0065 pyatspi.ROLE_TEAROFF_MENU_ITEM:'tear off menu item', 0066 pyatspi.ROLE_TERMINAL:'terminal', 0067 pyatspi.ROLE_TEXT:'text', 0068 pyatspi.ROLE_TOGGLE_BUTTON:'toggle button', 0069 pyatspi.ROLE_TOOL_BAR:'tool bar', 0070 pyatspi.ROLE_TOOL_TIP:'tool tip', 0071 pyatspi.ROLE_TREE:'tree', 0072 pyatspi.ROLE_TREE_TABLE:'tree table', 0073 pyatspi.ROLE_UNKNOWN:'unknown', 0074 pyatspi.ROLE_VIEWPORT:'viewport', 0075 pyatspi.ROLE_WINDOW:'window', 0076 pyatspi.ROLE_HEADER:'header', 0077 pyatspi.ROLE_FOOTER:'footer', 0078 pyatspi.ROLE_PARAGRAPH:'paragraph', 0079 pyatspi.ROLE_RULER:'ruler', 0080 pyatspi.ROLE_APPLICATION:'application', 0081 pyatspi.ROLE_AUTOCOMPLETE:'autocomplete', 0082 pyatspi.ROLE_EDITBAR:'edit bar', 0083 pyatspi.ROLE_EMBEDDED:'embedded component', 0084 pyatspi.ROLE_ENTRY:'entry', 0085 pyatspi.ROLE_CHART:'chart', 0086 pyatspi.ROLE_CAPTION:'caption', 0087 pyatspi.ROLE_DOCUMENT_FRAME:'document frame', 0088 pyatspi.ROLE_HEADING:'heading', 0089 pyatspi.ROLE_PAGE:'page', 0090 pyatspi.ROLE_SECTION:'section', 0091 pyatspi.ROLE_REDUNDANT_OBJECT:'redundant object', 0092 pyatspi.ROLE_FORM:'form', 0093 pyatspi.ROLE_LINK:'link', 0094 pyatspi.ROLE_INPUT_METHOD_WINDOW:'input method window', 0095 pyatspi.ROLE_TABLE_ROW:'table row', 0096 pyatspi.ROLE_TREE_ITEM:'tree item', 0097 pyatspi.ROLE_DOCUMENT_SPREADSHEET:'document spreadsheet', 0098 pyatspi.ROLE_DOCUMENT_PRESENTATION:'document presentation', 0099 pyatspi.ROLE_DOCUMENT_TEXT:'document text', 0100 pyatspi.ROLE_DOCUMENT_WEB:'document web', 0101 pyatspi.ROLE_DOCUMENT_EMAIL:'document email', 0102 pyatspi.ROLE_COMMENT:'comment', 0103 pyatspi.ROLE_LIST_BOX:'list box', 0104 pyatspi.ROLE_GROUPING:'grouping', 0105 pyatspi.ROLE_IMAGE_MAP:'image map', 0106 pyatspi.ROLE_NOTIFICATION:'notification', 0107 pyatspi.ROLE_INFO_BAR:'info bar', 0108 pyatspi.ROLE_LEVEL_BAR:'level bar', 0109 pyatspi.ROLE_TITLE_BAR:'title bar', 0110 pyatspi.ROLE_BLOCK_QUOTE:'block quote', 0111 pyatspi.ROLE_AUDIO:'audio', 0112 pyatspi.ROLE_VIDEO:'video', 0113 pyatspi.ROLE_DEFINITION:'definition', 0114 pyatspi.ROLE_ARTICLE:'article', 0115 pyatspi.ROLE_LANDMARK:'landmark', 0116 pyatspi.ROLE_LOG:'log', 0117 pyatspi.ROLE_MARQUEE:'marquee', 0118 pyatspi.ROLE_MATH:'math', 0119 pyatspi.ROLE_RATING:'rating', 0120 pyatspi.ROLE_TIMER:'timer', 0121 pyatspi.ROLE_STATIC:'static', 0122 pyatspi.ROLE_MATH_FRACTION:'math fraction', 0123 pyatspi.ROLE_MATH_ROOT: 'math root', 0124 pyatspi.ROLE_SUBSCRIPT: 'subscript', 0125 pyatspi.ROLE_SUPERSCRIPT: 'superscript', 0126 pyatspi.ROLE_CONTENT_DELETION: 'content deletion', 0127 pyatspi.ROLE_CONTENT_INSERTION: 'content insertion', 0128 pyatspi.ROLE_MARK: 'mark', 0129 pyatspi.ROLE_SUGGESTION: 'suggestion', 0130 }