X7ROOT File Manager
Current Path:
/usr/lib/python2.7/site-packages/pyatspi
usr
/
lib
/
python2.7
/
site-packages
/
pyatspi
/
📁
..
📄
Accessibility.py
(11.09 KB)
📄
Accessibility.pyc
(14.53 KB)
📄
Accessibility.pyo
(14.53 KB)
📄
__init__.py
(993 B)
📄
__init__.pyc
(467 B)
📄
__init__.pyo
(467 B)
📄
action.py
(4.85 KB)
📄
action.pyc
(4.91 KB)
📄
action.pyo
(4.91 KB)
📄
appevent.py
(3.66 KB)
📄
appevent.pyc
(3.42 KB)
📄
appevent.pyo
(3.42 KB)
📄
application.py
(2.78 KB)
📄
application.pyc
(2.63 KB)
📄
application.pyo
(2.63 KB)
📄
atspienum.py
(1.39 KB)
📄
atspienum.pyc
(1 KB)
📄
atspienum.pyo
(1 KB)
📄
collection.py
(3.96 KB)
📄
collection.pyc
(4.11 KB)
📄
collection.pyo
(4.11 KB)
📄
component.py
(6.72 KB)
📄
component.pyc
(6.72 KB)
📄
component.pyo
(6.72 KB)
📄
constants.py
(4.7 KB)
📄
constants.pyc
(3.29 KB)
📄
constants.pyo
(3.29 KB)
📄
deviceevent.py
(9.33 KB)
📄
deviceevent.pyc
(11.96 KB)
📄
deviceevent.pyo
(11.96 KB)
📄
document.py
(3.6 KB)
📄
document.pyc
(3.55 KB)
📄
document.pyo
(3.55 KB)
📄
editabletext.py
(5.02 KB)
📄
editabletext.pyc
(5.05 KB)
📄
editabletext.pyo
(5.05 KB)
📄
hypertext.py
(2.76 KB)
📄
hypertext.pyc
(2.48 KB)
📄
hypertext.pyo
(2.48 KB)
📄
image.py
(4.64 KB)
📄
image.pyc
(4.6 KB)
📄
image.pyo
(4.6 KB)
📄
interface.py
(980 B)
📄
interface.pyc
(862 B)
📄
interface.pyo
(862 B)
📄
registry.py
(17.8 KB)
📄
registry.pyc
(15.55 KB)
📄
registry.pyo
(15.55 KB)
📄
role.py
(13.09 KB)
📄
role.pyc
(10.21 KB)
📄
role.pyo
(10.21 KB)
📄
selection.py
(5.62 KB)
📄
selection.pyc
(5.8 KB)
📄
selection.pyo
(5.8 KB)
📄
state.py
(5.34 KB)
📄
state.pyc
(4.37 KB)
📄
state.pyo
(4.37 KB)
📄
table.py
(15.39 KB)
📄
table.pyc
(16.91 KB)
📄
table.pyo
(16.91 KB)
📄
tablecell.py
(3.08 KB)
📄
tablecell.pyc
(3.06 KB)
📄
tablecell.pyo
(3.06 KB)
📄
text.py
(30.98 KB)
📄
text.pyc
(31.63 KB)
📄
text.pyo
(31.63 KB)
📄
utils.py
(13.82 KB)
📄
utils.pyc
(15.21 KB)
📄
utils.pyo
(15.21 KB)
📄
value.py
(2.8 KB)
📄
value.pyc
(2.61 KB)
📄
value.pyo
(2.61 KB)
Editing: constants.py
#Copyright (C) 2008 Codethink Ltd #copyright: Copyright (c) 2005, 2007 IBM Corporation #This library is free software; you can redistribute it and/or #modify it under the terms of the GNU Lesser General Public #License version 2 as published by the Free Software Foundation. #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General Public License for more details. #You should have received a copy of the GNU Lesser General Public License #along with this program; if not, write to the Free Software #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #Portions of this code originally licensed and copyright (c) 2005, 2007 #IBM Corporation under the BSD license, available at #U{http://www.opensource.org/licenses/bsd-license.php} #authors: Peter Parente, Mark Doffman # Constants used in the Component interface to get screen coordinates DESKTOP_COORDS = 0 WINDOW_COORDS = 1 # Constants used to synthesize mouse events MOUSE_B1P = 'b1p' MOUSE_B1R = 'b1r' MOUSE_B1C = 'b1c' MOUSE_B1D = 'b1d' MOUSE_B2P = 'b2p' MOUSE_B2R = 'b2r' MOUSE_B2C = 'b2c' MOUSE_B2D = 'b2d' MOUSE_B3P = 'b3p' MOUSE_B3R = 'b3r' MOUSE_B3C = 'b3c' MOUSE_B3D = 'b3d' MOUSE_ABS = 'abs' MOUSE_REL = 'rel' # events that clear cached properties CACHE_EVENTS = ['object:property-change:accessible-name', 'object:property-change:accessible-description', 'object:property-change:accessible-role', 'object:property-change:accessible-parent'] CACHE_PROPERTIES = '' # This was placed into at-spi-corba because it apparently had a bug where # one could not register for all the subevents of an event given only an # AT-SPI event class (ie, first part of the event name). Pyatspi2 does not # have this issue, but will leave the tree as-is for now, and some programs # pass it to registerEventListener, so the constant needs to stay. # Keys are event names having subevents and values are the subevents # under the key event; handlers *can* be registered for events not in this tree EVENT_TREE = { 'terminal': ['terminal:line-changed', 'terminal:columncount-changed', 'terminal:linecount-changed', 'terminal:application-changed', 'terminal:charwidth-changed' ], 'document': ['document:load-complete', 'document:reload', 'document:load-stopped', 'document:attributes-changed' 'document:page-changed' ], 'object': ['object:property-change', 'object:bounds-changed', 'object:link-selected', 'object:state-changed', 'object:children-changed', 'object:visible-data-changed', 'object:selection-changed', 'object:model-changed', 'object:active-descendant-changed', 'object:row-inserted', 'object:row-reordered', 'object:row-deleted', 'object:column-inserted', 'object:column-reordered', 'object:column-deleted', 'object:text-bounds-changed', 'object:text-selection-changed', 'object:text-changed', 'object:text-attributes-changed', 'object:text-caret-moved', 'object:attributes-changed'], 'object:text-changed' : ['object:text-changed:insert', 'object:text-changed:delete'], 'object:property-change' : ['object:property-change:accessible-parent', 'object:property-change:accessible-name', 'object:property-change:accessible-description', 'object:property-change:accessible-value', 'object:property-change:accessible-role', 'object:property-change:accessible-table-caption', 'object:property-change:accessible-table-column-description', 'object:property-change:accessible-table-column-header', 'object:property-change:accessible-table-row-description', 'object:property-change:accessible-table-row-header', 'object:property-change:accessible-table-summary'], 'object:children-changed' : ['object:children-changed:add', 'object:children-changed:remove'], 'object:state-changed' : ['object:state-changed:'], 'mouse' : ['mouse:abs', 'mouse:rel', 'mouse:button'], 'mouse:button' : ['mouse:button:1p', 'mouse:button:1r', 'mouse:button:2p', 'mouse:button:2r', 'mouse:button:3p', 'mouse:button:3r'], 'window' : ['window:minimize', 'window:maximize', 'window:restore', 'window:close', 'window:create', 'window:reparent', 'window:desktop-create', 'window:desktop-destroy', 'window:activate', 'window:deactivate', 'window:raise', 'window:lower', 'window:move', 'window:resize', 'window:shade', 'window:unshade', 'window:restyle'], 'focus' : ['focus:'] } from pyatspi.state import *
Upload File
Create Folder