panel_move(3ocurses)


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

Synopsis

cc [flag . . .] file -lpanel -locurses [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 ocurses.h.

References

curses(3ocurses), panels(3ocurses), panel_update(3ocurses)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004