Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ winopen(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

winopen()  —  Silicon Graphics Silicon Graphics

NAME

winopen - creates a graphics port under the window manager

SPECIFICATION

C
long winopen(name)
char name[];

FORTRAN
integer*4 function winope(name,length)
character*(*) name
integer*4 length

Pascal
function winopen(name: pstring128):longint;

DESCRIPTION

winopen creates a graphics port based on the characteristics specified by minsize, maxsize, keepaspect, prefsize, prefposition, stepunit, fudge, and foreground preceding the call to winopen.  This will initialize graphics the first time it is called in a program.  winopen returns a small integer value (gid) identifying the window or −1 if no additional graphics ports are available.  The newly opened port inherits the current graphics port’s state and replaces it as the current port.  If no port characteristics are specified or the description is incomplete, the window manager prompts the user for the missing information.  The user employs the cursor to show the size and location of the graphics port.  In FORTRAN there is an extra argument, length, that is the number of characters in the name string. 

SEE ALSO

minsize, maxsize, keepaspect, prefsize, prefposition, stepunit, fudge, noport, foreground, winclose, getport
“Multiple Exposure: The IRIS Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode under the window manager. 

Version 2.4  —  May 08, 1986

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