WTOP(3W)
NAME
wtop − move the window to the top of the window stack
SYNOPSIS
int wtop(fd,value);
int fd;
int value;
DESCRIPTION
fd is an integer file descriptor for an opened window type device interface.
value is the set/interrogation parameter for which the following values are valid:
-1 return the window’s current top status. If the window is the top window in the stack, then 1 is returned; otherwise, 0 is returned.
0 causes the routine to do nothing.
1 places the window or icon on top of all other windows. If the window is concealed make it visible and on top.
DISCUSSION
This call inquires or sets whether this window is top most.
SEE ALSO
DIAGNOSTICS
A value of 0 or 1 is returned unless fd does not refer to a window, in which case -1 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 8.0: January 1991