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

winmove Subroutine

Purpose

Moves the current window by its lower-left corner.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void winmove(Int32 originx, Int32 originy)

FORTRAN Syntax

SUBROUTINE WINMOV(originx, originy)
INTEGER*4 originx, originy

Description

The winmove subroutine moves the current window so that its origin, the lower-left corner, is at the screen coordinates specified in pixels by the originx and originy parameters. The winmove subroutine removes the current size constraint. After the winmove subroutine is started, the user can interactively change the position and size of the window.

The winmove subroutine does not remove the other window constraints, such as the minimum and maximum size constraints, the aspect ratio, or the stepunit.

To keep the window size constrained, use the prefposition or the prefsize subroutines to move and resize a window.

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

Parameters

originx Specifies the x coordinate of the lower-left corner of the new location for the current window.
originy Specifies the y coordinate of the lower-left corner of the new location for the current window.

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

Binding window constraints to the current window with the winconstraints subroutine.

Raising the current window on top of all other windows with the winpop subroutine.

Changing the current location and size of a window with the winposition subroutine.

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

Creating and Managing Windows.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]