getpanelchildcount

Syntax

getpanelchildcount ('<window name>', '<component name>')

Description

Gets the number of childs available under the given panel

Implementation

Todo:
Return values:
Returns the child count if present, else -1, if unable to find child count
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/panel.c

Example

With respect to gedit application

from ldtp import *

getpanelchildcount ('*-gedit', 'pnl0')

Author:
Nagappan <nagappan@gmail.com>


Linux Desktop Testing Project