+
    <i?  c                   sB    ^ RI Ht ^ RI5 ^ RI5 R.t ! R R]4      tR# )i    )Atspi)Z*Tablec                   sP  a  ] tR t^t o RtR tR tR tR tR t	R t
R tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tRt]! ]]R7      tR tRt]! ]]R7      tR t Rt!]! ] ]!R7      t"R t#Rt$]! ]#]$R7      t%R t&R t']! ]&]'R7      t(R! t)R"t*]! ])]*R7      t+R#t,V t-R$# )%r   a   
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                V    \         P                  P                  V P                  V4      # )z
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   Zadd_column_selectionobjselfcolumn   &&2/usr/lib/python3.14/site-packages/pyatspi/table.pyaddColumnSelectionZTable.addColumnSelection*   s     {{77&II    c                r   )z
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   Zadd_row_selectionr   r   rowr   r   addRowSelectionZTable.addRowSelection4   s     {{44TXXsCCr
   c                V    \         P                  P                  V P                  W4      # )z
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   Zget_accessible_atr   r   r   r      &&&r   getAccessibleAtZTable.getAccessibleAt>   s     {{44TXXsKKr
   c                r   )a	  
Get the table column index occupied by the child at a particular
1-D child index.
@param : index
the specified child index, zero-indexed.
@return a long integer indicating the first column spanned by
the child of a table, at the specified 1-D (zero-offset) index.
)r    r   Zget_column_at_indexr   r   Zindexr   r   getColumnAtIndexZTable.getColumnAtIndexJ        {{66txxGGr
   c                r   )a  
Get a text description of a particular table column. This differs
from AccessibleTable_getColumnHeader, which returns an Accessible.
@param : column
the specified table column, zero-indexed.
@return a UTF-8 string describing the specified table column,
if available.
)r    r   Zget_column_descriptionr   r   r   r   getColumnDescriptionZTable.getColumnDescriptionU   s     {{99$((FKKr
   c                r   )a  
Get the number of columns spanned by the table cell at the specific
row and column. (some tables can have cells which span multiple
rows and/or columns).
The returned values are meaningful only if the Table has
both STATE_VISIBLE and STATE_SHOWING.
@param : row
the specified table row, zero-indexed. 
@param : column
the specified table column, zero-indexed.
@return a long integer indicating the number of columns spanned
by the specified cell.
)r    r   Zget_column_extent_atr   r   r   r   getColumnExtentAtZTable.getColumnExtentAt`   s     {{77#NNr
   c                r   )a'  
Get the header associated with a table column, if available,
as an instance of Accessible. This differs from getColumnDescription,
which returns a string.
@param : column
the specified table column, zero-indexed.
@return an Accessible representatin of the specified table column,
if available.
)r    r   Zget_column_headerr   r   r   r   getColumnHeaderZTable.getColumnHeaderp   s     {{44TXXuEEr
   c                r   )aH  
Get the 1-D child index corresponding to the specified 2-D row
and column indices. 
@param : row
the specified table row, zero-indexed. 
@param : column
the specified table column, zero-indexed.
@return a long integer which serves as the index of a specified
cell in the table, in a form usable by Accessible::getChildAtIndex.
)r    r   Zget_index_atr   r   r   r   
getIndexAtZTable.getIndexAt|   s     {{//#FFr
   c                r   )a  
Get the table row index occupied by the child at a particular
1-D child index.
@param : index
the specified child index, zero-indexed.
@return a long integer indicating the first row spanned by the
child of a table, at the specified 1-D (zero-offset) index.
)r    r   Zget_row_at_indexr   r   r   r   getRowAtIndexZTable.getRowAtIndex   s     {{33DHHeDDr
   c                r   )a  
Given a child index, determine the row and column indices and
extents, and whether the cell is currently selected. If the child
at index is not a cell (for instance, if it is a summary, caption,
etc.), False is returned.
The returned values are meaningful only if the Table has
both STATE_VISIBLE and STATE_SHOWING.
@param : index
the index of the Table child whose row/column extents are requested.
@param : row
back-filled with the first table row associated with the cell
with child index index. 
@param : col
back-filled with the first table column associated with the cell
with child index index. 
@param : row_extents
back-filled with the number of table rows across which child
i extends. 
@param : col_extents
back-filled with the number of table columns across which child
i extends. 
@param : is_selected
a boolean which is back-filled with True if the child at index
i corresponds to a selected table cell, False otherwise.
Example: If the Table child at index '6' extends across columns
5 and 6 of row 2 of a Table instance, and is currently selected,
then retval=table::getRowColumnExtentsAtIndex(6,row,col,
row_extents,
col_extents,
is_selected);
 will return True, and after the call row, col, row_extents,
col_extents, and is_selected will contain 2, 5, 1, 2, and True,
respectively.
@return True if the index is associated with a valid table cell,
False if the index does not correspond to a cell. If False is
returned, the values of the out parameters are undefined.
)r    r   Zget_row_column_extents_at_indexr   r   r   r   getRowColumnExtentsAtIndexZ Table.getRowColumnExtentsAtIndex   s     L {{BB488USSr
   c                r   )z
Get a text description of a particular table row. This differs
from AccessibleTable_getRowHeader, which returns an Accessible.
@param : row
the specified table row, zero-indexed.
@return a UTF-8 string describing the specified table row, if
available.
)r    r   Zget_row_descriptionr   r   r   r   getRowDescriptionZTable.getRowDescription   r   r
   c                r   )a  
Get the number of rows spanned by the table cell at the specific
row and column. (some tables can have cells which span multiple
rows and/or columns).
The returned values are meaningful only if the Table has
both STATE_VISIBLE and STATE_SHOWING.
@param : row
the specified table row, zero-indexed. 
@param : column
the specified table column, zero-indexed.
@return a long integer indicating the number of rows spanned
by the specified cell.
)r    r   Zget_row_extent_atr   r   r   r   getRowExtentAtZTable.getRowExtentAt   s     {{44TXXsKKr
   c                r   )z
Get the header associated with a table row, if available. This
differs from getRowDescription, which returns a string.
@param : row
the specified table row, zero-indexed.
@return an Accessible representatin of the specified table row,
if available.
)r    r   Zget_row_headerr   r   r   r   getRowHeaderZTable.getRowHeader   s     {{11$((C@@r
   c                T    \         P                  P                  V P                  4      # )z
Obtain the indices of all columns which are currently selected.
@return a sequence of integers comprising the indices of columns
currently selected.
)r    r   Zget_selected_columnsr   r      &r   getSelectedColumnsZTable.getSelectedColumns   s     {{77AAr
   c                r   )z
Obtain the indices of all rows which are currently selected.
@return a sequence of integers comprising the indices of rows
currently selected.
)r    r   Zget_selected_rowsr   r   r    r   getSelectedRowsZTable.getSelectedRows   s     {{44TXX>>r
   c                r   )z
Determine whether a table column is selected. 
@param : column
the column being queried.
@return True if the specified column is currently selected, False
if not.
)r    r   Zis_column_selectedr   r   r   r   isColumnSelectedZTable.isColumnSelected   s     {{55dhhGGr
   c                r   )z
Determine whether a table row is selected. 
@param : row
the row being queried.
@return True if the specified row is currently selected, False
if not.
)r    r   Zis_row_selectedr   r   r   r   isRowSelectedZTable.isRowSelected   s     {{22488SAAr
   c                r   )a!  
Determine whether the cell at a specific row and column is selected.
@param : row
a row occupied by the cell whose state is being queried. 
@param : column
a column occupied by the cell whose state is being queried.
@return True if the specified cell is currently selected, False
if not.
)r    r   Zis_selectedr   r   r   r   
isSelectedZTable.isSelected  s     {{..txxEEr
   c                r   )z
Remove the specified column from current column selection, if
the table's selection model permits it.
@param : column
@return True if the specified column was successfully de-selected,
False if not.
)r    r   Zremove_column_selectionr   r   r   r   removeColumnSelectionZTable.removeColumnSelection  s     {{::488VLLr
   c                r   )z
Remove the specified row from current row selection, if the table's
selection model permits it.
@param : row
@return True if the specified row was successfully de-selected,
False if not.
)r    r   Zremove_row_selectionr   r   r   r   removeRowSelectionZTable.removeRowSelection  s     {{77#FFr
   c                r   N)r    r   get_captionr   r   r    r   r)   ZTable.get_caption&      {{..txx88r
   zZ
                An Accessible which represents of a caption for a Table.
                )ZfgetZdocc                r   r(   )r    r   Zget_n_columnsr   r   r    r   get_nColumnsZTable.get_nColumns.  s    {{00::r
   a&  
                The total number of columns in this table (including empty columns),
                exclusive of columns which are programmatically hidden. Columns
                which are scrolled out of view or clipped by the current viewport
                are included.
                c                r   r(   )r    r   Z
get_n_rowsr   r   r    r   	get_nRowsZTable.get_nRows9  s    {{--dhh77r
   z
                The total number of rows in this table (including empty rows),
                exclusive of any rows which are programmatically hidden. Rows
                which are merely scrolled out of view are included.
                c                r   r(   )r    r   Zget_n_selected_columnsr   r   r    r   get_nSelectedColumnsZTable.get_nSelectedColumnsC  s    {{99$((CCr
   z
                The number of columns currently selected. A selected column is
                one in which all included cells are selected.
                c                r   r(   )r    r   Zget_n_selected_rowsr   r   r    r   get_nSelectedRowsZTable.get_nSelectedRowsL  s    {{66txx@@r
   z
                The number of rows currently selected. A selected row is one
                in which all included cells are selected.
                c                r   r(   )r    r   get_summaryr   r   r    r   r/   ZTable.get_summaryU  r*   r
   z
                An accessible object which summarizes the contents of a Table.
                This object is frequently itself a Table instance, albeit a simplified
                one.
                 N).Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r	   r   r   r   r   r   r   r   r   r   r   r   r   r!   r"   r#   r$   r%   r&   r'   r)   Z_captionDocZpropertyZcaptionr+   Z_nColumnsDocZnColumnsr,   Z	_nRowsDocZnRowsr-   Z_nSelectedColumnsDocZnSelectedColumnsr.   Z_nSelectedRowsDocZnSelectedRowsr/   Z_summaryDocZsummaryZ__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s7    		J	D
	L		I		L	O 
	F	G		E&	TP		H	L 		A	B	?	H	B
	F	M	G	9 	 =	; 	 <@	8 	 iY7	D 	
 $)=CWX	A 	
 !&7=NO	9 	 =r
   N)Zgi.repositoryr    Zpyatspi.utilsZpyatspi.interfaceZ__all__Z	interfacer   r0   r
   r   <module>r1      s*         C>I C>r
   