listsubmenus

Syntax

listsubmenus ('window name>', 'menu name>')

Description

Get the list of sub menu item, in a menu in a ; seperated list

Implementation

Todo:
Return values:
';' seperated string on success, LdtpExecutionError exception on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/menu-item.c

Example

With respect to gedit application, File menu

from ldtp import *

listsubmenus ('*-gedit', 'mnuFile') # all the submenus of File menu in ';' seperated string

Author:
Nagappan A <nagappan@gmail.com>


Linux Desktop Testing Project