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

selectrowindex

Syntax

selectrowindex ('<window name>', '<table name>', <row index>)

Description

Selects the row with the given index value in table. Index value starts from 0.

Implementation

Return values:
1 on success and 0 on error.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/table.c http://webcvs.freedesktop.org/ldtp/ldtp/src/tree-table.c

Example

from ldtp import *

With respect to gedit open dialog

selectrowindex ('dlgOpen', 'dlgFiles', 0)

Author:
Nagappan A <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index