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>


Linux Desktop Testing Project