Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

gettreetablerowindex

Syntax

gettreetablerowindex ('<window name>', '<tree table name>', '<name of a table cell>')

Description

Used to obtain the index of any table cell whose whose name is give in the last field.

Implementation

Return values:
index of table cell, else -1.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/tree-table.c

Example

from ldtp import *

With respect to the tree table in Mail in Evolution

i = gettreetablerowindex ('Evolution', 'treetblMail', 'Cabinet')

here 'i' will be having the index of the Cabinet which is a table cell under tree table mail.

Author:
Aginesh <sraginesh@novell.com>

Generated by  Doxygen 1.6.0   Back to index