winpop Subroutine

Purpose

Raises the current window on top of all other windows.

Note: The GL window management routines are built on top the X11 Window System library. Because X11 is asynchronous in nature, there is no guarantee that windowing commands and drawing commands will be performed in the order issued. In particular, do not assume that the current window will be on top when the winpop subroutine returns (it will be moved to the top eventually but asynchronously from the subroutine call). When using the winpop() subroutine, wait for a REDRAW event for the associated window before drawing into it. Otherwise, early drawing (drawing before the window has been moved to the top) will be clipped to the old window boundaries.

Use the gflush() subroutine to ensure drawing is complete. Unless this is done, window pushes and pops may be scheduled and completed before drawing is complete.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void winpop( )

FORTRAN Syntax

SUBROUTINE WINPOP

Description

The winpop subroutine raises the
current window from anywhere in the stack of windows to the top position.