Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsmvwin(3XCURSES)


NAME

 mvwin - move window

SYNOPSIS

 
#include <curses.h>
int mvwin(WINDOW *win, int y, int x);

PARAMETERS

 
win
Is a pointer to the window to move.
y
Is 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.

DESCRIPTION

 

The mvwin() function 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. In the case of a subwindow, the window must remain within the boundaries of the parent window.

RETURN VALUES

 

On success, the mvwin() function returns OK. Otherwise, it returns ERR.

ERRORS

 

None.

SEE ALSO

 

derwin(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.