man pages section 3: Curses Library Functions

Exit Print View

Updated: July 2014
 
 

panel_move(3CURSES)

Name

panel_move, move_panel - move a panels window on the virtual screen

Synopsis

cc [ flag ... ] file ... –lpanel –lcurses [ library .. ]
#include <panel.h>



int move_panel(PANEL *panel, int starty, int startx);

Description

move_panel() moves the curses window associated with panel so that its upper left-hand corner is at starty, startx. See usage note, below.

Return Values

OK is returned if the routine completes successfully, otherwise ERR is returned.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See also

curses(3CURSES), panel_update(3CURSES), panels(3CURSES), attributes(5)

Notes

For panels windows, use move_panel() instead of the mvwin() curses routine. Otherwise, update_panels() will not properly update the virtual screen.

The header <panel.h> automatically includes the header <curses.h>.