HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

mvwin

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The mvwin routine is used to move a window.

Syntax

   #include <curses.h>



   int mvwin(WINDOW *win, int y, int x);

Parameters

win

A pointer to the window to move.

y

The y (row) coordinate of the upper-left corner of the window.

x

is the x (column) coordinate of the upper-left corner of the window.

Return Values

OK

Successful completion.

ERR

An error occurred. The move places part of or all of window outside the screen boundary (or, in the case of a subwindow, outside its parent window's boundaries.)

Description

The mvwin() routine moves the specified window (or subwindow), placing its upper left corner at the positions specified by x and y. The entire window must fit within the physical boundaries of the screen, or an error results. A subwindow must fit within the boundaries of its parent window.

Implementation Considerations

Identical to XPG/3

See Also

newwin(), subwin()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster