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

gettablerowindex

Syntax

gettablerowindex ('<window name>', '<tablename>', '<cellvalue>')

Description

Returns the id of the row containing the given <cellvalue>

Implementation

Return values:
Return id of the row containing the given cell value, if it is found else return -1
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/table.c

Example

In case of Evolution Calendar, to select the category form the list of categories

gettablerowindex ('dlgMeeting', 'tblCategoryList', 'Business')

The above call would return the row id of the cell containing Business.

Author:
Premkumar J <prem.jothimani@gmail.com>

Generated by  Doxygen 1.6.0   Back to index