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

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>

Generated by  Doxygen 1.6.0   Back to index