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

uncheck

Syntax

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

Description

Uncheck (un-tick) the check state.

Implementation

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

Example

from ldtp import *

To uncheck menu item with respect to gedit menu

uncheck ('gedit', 'mnuOutputWindow')

For check menu item with respect to gedit menu

uncheck ('gedit', 'mnuToolbar')

To uncheck box with respect to gedit preferences

uncheck ('dlgPreferences', 'cboxEnableAutoIndentation')

Author:
Nagappan <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index