mvwin

Moves the starting position of the window to the specified (y,x) coordinates.

Format

#include  <curses.h>

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

Arguments

win
A pointer to the window.
y
A window coordinate.
x
A window coordinate.

Description

When moving subwindows, the mvwin function does not rewrite the contents of the subwindow on the underlying window at the new position. If you write anything to the subwindow after the move, the function also writes to the underlying window.

Return Values
OK  Indicates success. 
ERR  Indicates that moving the window put part or all of the window off the edge of the terminal screen. The terminal screen remains unaltered. 


Previous Page | Next Page | Table of Contents | Index