Main Page
Related Pages
S
earch for
LDTP User manual
»
checkmenuitem
menuuncheck
Syntax
menuuncheck ('<window name>', '<menu item>')
Description
Unchecks a menu item, if its already unchecked it will be silently ignored
Implementation
Todo:
Return values:
1
on success, LdtpExecutionError exception on failure
Refer:
http://webcvs.freedesktop.org/ldtp/ldtp/src/check-menu-item.c
Example
With respect to gedit, View menu and Toolbar check menuitem, we can uncheck the menuitem. If its already unchecked, it will be silently ignored.
menuuncheck ('*-gedit', 'mnuView;mnuToolbar')
Author:
Nagappan <
nagappan@gmail.com
>
Linux Desktop Testing Project