/usr/share/pyshared/ldtpd/constants.py is in ldtp 2.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | """
LDTP v2 constants.
@author: Eitan Isaacson <eitan@ascender.com>
@author: Nagappan Alagappan <nagappan@gmail.com>
@copyright: Copyright (c) 2009 Eitan Isaacson
@copyright: Copyright (c) 2009-12 Nagappan Alagappan
@license: LGPL
http://ldtp.freedesktop.org
This file may be distributed and/or modified under the terms of the GNU Lesser General
Public License version 2 as published by the Free Software Foundation. This file
is distributed without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
See 'COPYING' in the source distribution for more information.
Headers in this file shall remain intact.
"""
import pyatspi
abbreviated_roles = {
pyatspi.ROLE_PAGE_TAB : 'ptab',
pyatspi.ROLE_PAGE_TAB_LIST : 'ptl',
pyatspi.ROLE_TABLE : 'tbl',
pyatspi.ROLE_COMBO_BOX : 'cbo',
pyatspi.ROLE_SPIN_BUTTON : 'sbtn',
pyatspi.ROLE_FONT_CHOOSER : 'dlg',
pyatspi.ROLE_COLOR_CHOOSER : 'dlg',
pyatspi.ROLE_RADIO_BUTTON : 'rbtn',
pyatspi.ROLE_TREE : 'tree',
pyatspi.ROLE_TREE_TABLE : 'ttbl',
pyatspi.ROLE_LAYERED_PANE : 'pane',
pyatspi.ROLE_ICON : 'ico',
pyatspi.ROLE_FRAME : 'frm',
pyatspi.ROLE_DIALOG : 'dlg',
pyatspi.ROLE_WINDOW : 'dlg',
pyatspi.ROLE_FILE_CHOOSER : 'dlg',
pyatspi.ROLE_ALERT : 'dlg',
pyatspi.ROLE_CALENDAR : 'cal',
pyatspi.ROLE_PANEL : 'pnl',
pyatspi.ROLE_LABEL : 'lbl',
pyatspi.ROLE_MENU_BAR : 'mbr',
pyatspi.ROLE_MENU : 'mnu',
pyatspi.ROLE_MENU_ITEM : 'mnu',
pyatspi.ROLE_LIST_ITEM : 'lst',
pyatspi.ROLE_LIST : 'lst',
pyatspi.ROLE_CHECK_MENU_ITEM : 'mnu',
pyatspi.ROLE_RADIO_MENU_ITEM : 'mnu',
pyatspi.ROLE_PUSH_BUTTON : 'btn',
pyatspi.ROLE_TOGGLE_BUTTON : 'tbtn',
pyatspi.ROLE_SCROLL_BAR : 'scbr',
pyatspi.ROLE_SCROLL_PANE : 'scpn',
pyatspi.ROLE_TEXT : 'txt',
pyatspi.ROLE_ENTRY : 'txt',
pyatspi.ROLE_AUTOCOMPLETE : 'auto',
pyatspi.ROLE_PARAGRAPH : 'txt',
pyatspi.ROLE_PASSWORD_TEXT : 'txt',
pyatspi.ROLE_STATUS_BAR : 'stat',
pyatspi.ROLE_EDITBAR : 'txt',
pyatspi.ROLE_TABLE_COLUMN_HEADER : 'tch',
pyatspi.ROLE_SEPARATOR : 'spr',
pyatspi.ROLE_FILLER : 'flr',
pyatspi.ROLE_CANVAS : 'cnvs',
pyatspi.ROLE_SPLIT_PANE : 'splt',
pyatspi.ROLE_SLIDER : 'sldr',
pyatspi.ROLE_HTML_CONTAINER : 'html',
pyatspi.ROLE_PROGRESS_BAR : 'pbar',
pyatspi.ROLE_TOOL_BAR : 'tbar',
pyatspi.ROLE_TOOL_TIP : 'ttip',
pyatspi.ROLE_CHECK_BOX : 'chk',
pyatspi.ROLE_TABLE_CELL : 'tblc',
pyatspi.ROLE_OPTION_PANE : 'opane',
pyatspi.ROLE_EMBEDDED : 'emb'}
|