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

menucheck

Syntax

menucheck ('<window name>', '<menu item>')

Description

Checks a menu item, if its already checked 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 check the menuitem. If its already checked, it will be silently ignored.

menucheck ('*-gedit', 'mnuView;mnuToolbar')

Author:
Nagappan <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index