STD
Class emos_std_win_lib
- public class emos_std_win_lib
#
This library contains alternative implementations for standard functions
that operate on windows (win_x() functions).
Another sort of functions in this library are functions that implement some
additional functionality that would probably fit into Mercury's logic
for win_x() functions.
Method Summary |
int | EMOS_check_win_closed(in win, in timeout) Waits for window to close. |
int | EMOS_set_window(in win1, in time1) This function invokes win_activate() before calling set_window(). |
EMOS_check_win_closed
public int EMOS_check_win_closed(in win, in timeout)
- Waits for window to close.
- Parameters:
- win - (in) window name
- time - (in) (optional) timeout
- Returns:
E_OK: success; window closed
!E_OK: failure
EMOS_set_window
public int EMOS_set_window(in win1, in time1)
- This function invokes win_activate() before calling set_window(). It also
takes care of the timeout (which does not normally work with win_activate()).
If for some reason standard set_window() does not work, try this function
before trying something else.
- Parameters:
- win - (in) window name
- time - (in) (optional) timeout
- Returns:
E_OK: success
!E_OK: failure