[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

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.

Note: This subroutine cannot be used to add to a display list.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Lowering the current window beneath all other windows with the winpush subroutine.

Creating and Managing Windows.


[ Previous | Next | Contents | Glossary | Home | Search ]