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

releasecontext

Syntax

releasecontext ()

Description

Release the last context set.

Implementation

Release the existing (last) context set using setcontext function.

Return values:
1 on success, LdtpExecutionError on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/client-handler.c

Example

In some applications the window title changes based on the operation we are doing. For example, when we browse any URL in Firefox browser, the title bar changes. Once title bar changed, then we can change the context using this function.

releasecontext ()

Author:
Nagappan A <nagappan@gmail.com>

Generated by  Doxygen 1.6.0   Back to index