#Copyright (c) 2013 SUSE LLC. #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__ = [ "TableCell", ] #------------------------------------------------------------------------------ class TableCell(interface): """ An interface used by cells in a table. """ def get_columnSpan(self): return Atspi.TableCell.get_column_span(self.obj) _columnSpanDoc = \ """ Get the number of columns occupied by this cell. """ columnSpan = property(fget=get_columnSpan, doc=_columnSpanDoc) def get_columnHeaderCells(self): return Atspi.TableCell.get_column_header_cells(self.obj) _columnHeaderCellsDoc = \ """ Get the column headers as an array of cell accessibles. """ columnHeaderCells = property(fget=get_columnHeaderCells, doc=_columnHeaderCellsDoc) def get_rowSpan(self): return Atspi.TableCell.get_row_span(self.obj) _rowSpanDoc = \ """ Get the number of rows occupied by this cell. """ rowSpan = property(fget=get_rowSpan, doc=_rowSpanDoc) def get_rowHeaderCells(self): return Atspi.TableCell.get_row_header_cells(self.obj) _rowHeaderCellsDoc = \ """ Get the row headers as an array of cell accessibles. """ rowHeaderCells = property(fget=get_rowHeaderCells, doc=_rowHeaderCellsDoc) def get_position(self): return Atspi.TableCell.get_position(self.obj) _positionDoc = \ """ Returns the tabular position of this accessible. """ position = property(fget=get_position, doc=_positionDoc) def getRowColumnSpan(self): """ determine the row and column indices and span of the given cell. """ return Atspi.TableCell.get_row_column_span(self.obj) def get_table(self): return Atspi.TableCell.get_table(self.obj) _tableDoc = \ """ Returns a reference to the accessible of the containing table. """ table = property(fget=get_table, doc=_tableDoc) #END----------------------------------------------------------------------------
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
Accessibility.py | File | 11.3 KB | 0644 |
|
__init__.py | File | 993 B | 0644 |
|
action.py | File | 4.85 KB | 0644 |
|
appevent.py | File | 3.66 KB | 0644 |
|
application.py | File | 2.78 KB | 0644 |
|
atspienum.py | File | 1.39 KB | 0644 |
|
collection.py | File | 3.96 KB | 0644 |
|
component.py | File | 8.74 KB | 0644 |
|
constants.py | File | 4.76 KB | 0644 |
|
deviceevent.py | File | 9.48 KB | 0644 |
|
document.py | File | 3.6 KB | 0644 |
|
editabletext.py | File | 5.02 KB | 0644 |
|
hypertext.py | File | 2.76 KB | 0644 |
|
image.py | File | 5.01 KB | 0644 |
|
interface.py | File | 980 B | 0644 |
|
registry.py | File | 19.42 KB | 0644 |
|
role.py | File | 13.54 KB | 0644 |
|
selection.py | File | 5.62 KB | 0644 |
|
state.py | File | 5.35 KB | 0644 |
|
table.py | File | 15.77 KB | 0644 |
|
tablecell.py | File | 3.08 KB | 0644 |
|
text.py | File | 32.07 KB | 0644 |
|
utils.py | File | 13.82 KB | 0644 |
|
value.py | File | 2.8 KB | 0644 |
|