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

verifymenuuncheck

Syntax

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

Description

Verify whether a menu is unchecked or checked

Implementation

Todo:
Return values:
1 on success, 0 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 verify whether the menu is unchecked or not. If unchecked 1 will be returned, else 0 will be returned.

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

Author:
Nagappan <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index