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

check

Syntax

check ('<window name>', '<component name>')

Description

Check (tick) the check box state.

Implementation

Return values:
1 if state is checked, else 0.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/check-box.c

Example

from ldtp import *

For check menu item with respect to gedit menu

check ('gedit', 'mnuOutputWindow')

For check menu item with respect to gedit menu

check ('gedit', 'mnuToolbar')

For check box with respect to gedit preferences

check ('dlgPreferences', 'cboxEnableAutoIndentation')

Author:
Nagappan <nagappan@gmail.com>

Khasim Shaheed <khasim.shaheed@gmail.com>


Generated by  Doxygen 1.6.0   Back to index