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

stateenabled

Syntax

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

Description

Checks the radio button object state enabled or not

Implementation

Return values:
1 if state is enabled, else 0.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/push-button.c http://webcvs.freedesktop.org/ldtp/ldtp/src/radio-button.c

Example

Push button: With respect to gedit open dialog, this function checks open button state enabled or not

stateenabled ('dlgOpenFile', 'btnOpen')

Todo:
Radiobutton
Author:
Nagappan A <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index