Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iconsize(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



iconsize(3G)                                                      iconsize(3G)



NAME
     iconsize - specifies the icon size of a window

C SPECIFICATION
     void iconsize(x,y)
     long x, y;

PARAMETERS
     x   expects the width (in pixels) for the icon.

     y   expects the height (in pixels) for the icon.

DESCRIPTION
     iconsize specifies the size (in pixels) of the window used to replace a
     stowed window. If a window has an icon size, the window manager will re-
     shape the window to be that size and send a REDRAWICONIC token to the
     graphics queue when the user stows that window.  Your code can use an
     event loop to test for this token and can call graphics library
     subroutines to draw the icon for the stowed window. Windows without an
     icon size are handled by the window manager with the locally appropriate
     default behavior.

     To assign a new window an icon size, call iconsize before you open the
     window.  To give an existing window an icon size, use iconsize with
     winconstraints.

SEE ALSO
     qdevice, winconstraints, winopen

NOTES
     This routine is available only in immediate mode.

     Any application using iconsize should also call qdevice to queue the
     tokens WINFREEZE and WINTHAW after opening the window.





















                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026