Mini Shell
3
���X�= � @ s6 d dl mZ d dlT d dlT dgZG dd� de�ZdS )� )�Atspi)�*�Tablec @ s@ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,Zeeed-�Zd.d/� Zd0Zeeed-�Zd1d2� Zd3Z eee d-�Z!d4d5� Z"d6Z#ee"e#d-�Z$d7d8� Z%d9Z&ee%e&d-�Z'd:d;� Z(d<Z)ee(e)d-�Z*d=S )>r ah
An interface used by containers whose contained data is arranged
in a "tabular" (i.e. row-column) fashion. Tables may resemble
a two-dimensional grid, as in a spreadsheet, or may feature objects
which span multiple rows and/or columns, but whose bounds are
aligned on a row/column matrix. Thus, the Table interface may
be used to represent "spreadsheets" as well as "frames".
Objects within tables are children of the Table instance, and
they may be referenced either via a child index or via a row/column
pair. Their role may be ROLE_TABLE_CELL, but table 'cells' may
have other roles as well. These 'cells' may implement other interfaces,
such as Text, Action, Image, and Component, and should do so
as appropriate to their onscreen representation and/or behavior.
c C s t jj| j|�S )a2
Select the specified column, adding it to the current column
selection, if the table's selection model permits it.
@param : column
@return True if the specified column was successfully selected,
False if not.
)r r Zadd_column_selection�obj)�self�column� r �/usr/lib/python3.6/table.py�addColumnSelection* s zTable.addColumnSelectionc C s t jj| j|�S )a&
Select the specified row, adding it to the current row selection,
if the table's selection model permits it.
@param : row
@return True if the specified row was successfully selected,
False if not.
)r r Zadd_row_selectionr )r �rowr r r �addRowSelection4 s zTable.addRowSelectionc C s t jj| j||�S )aq
Get the table cell at the specified row and column indices.
@param : row
the specified table row, zero-indexed.
@param : column
the specified table column, zero-indexed.
@return an Accessible object representing the specified table
cell.
)r r Zget_accessible_atr )r r r r r r �getAccessibleAt>