Moves a window or subwindow to the specified coordinates.
#include <curses.h>
int mvwin (WINDOW *win, int y, int x);
The mvwin subroutine moves the specified window so that its origin is at position (y, x). If the move causes any portion of the window to extend past any edge of the screen, the function fails and the window is not moved.
*win | |
x | |
y |
Upon successful completion, the mvwin subroutine returns OK. Otherwise, it returns ERR.
WINDOW *my_window; mvwin(my_window, 0, 0);
WINDOW *my_window; mvwin(my_window, 20, 10);
This subroutine is part of Base Operating System (BOS) Runtime.
The derwin subroutine, doupdate subroutine, is_linetouched subroutine.
Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Manipulating Window Data with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.