1mvwin(3XCURSES)         X/Open Curses Library Functions        mvwin(3XCURSES)
2
3
4

NAME

6       mvwin - move window
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       int mvwin(WINDOW *win, int y, int x);
17
18

PARAMETERS

20       win    Is a pointer to the window to move.
21
22
23       y      Is  the  y (row) coordinate of the upper left corner of the win‐
24              dow.
25
26
27       x      Is the x (column) coordinate of the upper  left  corner  of  the
28              window.
29
30

DESCRIPTION

32       The mvwin() function moves the specified window (or subwindow), placing
33       its upper left corner at the positions specified  by  x  and   y.   The
34       entire  window must fit within the physical boundaries of the screen or
35       an error results.  In the case of a subwindow, the window  must  remain
36       within the boundaries of the parent window.
37

RETURN VALUES

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

ERRORS

42       None.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Standard                     │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │Unsafe                       │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       derwin(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
60
61
62
63SunOS 5.11                        5 Jun 2002                   mvwin(3XCURSES)
Impressum