guiexist ('<window name>')
If the given window name exist, this function returns 1. If window doesnot exist, then this function returns 0.
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/client-handler.c
- Return values:
-
| 1 | on success and 0 on no existing window |
With respect to gedit Open dialog
from ldtp import *
# if GTK File selector is opened the following function will return 1, else 0
guiexist ('dlgOpenFile...')
- Author:
- Nagappan <nagappan@gmail.com>
Linux Desktop Testing Project