Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See Also

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

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>.