panel_move(3curses)


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 NOTICES, below.

<Return> value

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

Notices

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

The header file panel.h automatically includes the header file curses.h.

References

curses(3curses), panels(3curses), panel_update(3curses)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.