verifytoggled ('<window name>', '<toggle button name>')
Checks the toggle button state, if checked returns 1, elase 0
- Todo:
- Return values:
-
| 1 | on success, 0 on failure |
Refer:
http://webcvs.freedesktop.org/ldtp/ldtp/src/toggle-button.c
With respect to GTK File Selector in gedit
from ldtp import *
click ('*-gedit', 'btnOpen')
verifytoggled ('dlgOpenFile...', 'tbtnTypeafilename')
- Author:
- Poornima Nayak <pnayak@novell.com>
verifytoggled ('<window name>', 'component name>')
Verify whether the toggle button is toggled or not
- Todo:
- Return values:
-
Refer:
http://webcvs.freedesktop.org/ldtp/ldtp/src/toggle-button.c
With respect to GTK File Selector - Open dialog in gedit application
from ldtp import *
verifytoggled ('Open File*', 'Type a file name') # If 'Type a file name' button is toggled then location text box will be in editable state in GTK file selector
- Author:
- Premkumar J <prem.jothimani@gmail.com>