WICONIC(3W)
Series 300 and 500 Only
NAME
wiconic − change a window to/from an icon
SYNOPSIS
int wiconic(fd,value);
int fd;
int value;
DESCRIPTION
fd is an integer file descriptor for an opened window type device interface.
value determines the action taken by this routine; valid values and their effects follow:
-1 return the window’s iconic state: 1 is returned if the window is iconic; otherwise, 0 is returned.
0 display the window normally (non-iconic). This is the default state at window create time.
1 display the window as an icon.
DISCUSSION
Inquires on or sets a window’s iconic state.
SEE ALSO
wseticon(3W),wseticonpos(3W),wgeticonpos(3W).
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 — May 11, 2021