DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

panel_new(S)


panel_new: new_panel, del_panel -- create and destroy panels

Syntax

cc ... -lpanel -lcurses

#include <panel.h>

PANEL *new_panel(WINDOW *win); int del_panel(PANEL *panel);

Description

new_panel- create a panel associated with a window

del_panel- delete a panel but not its window

new_panel(S) creates a new panel associated with win and returns the panel pointer. The new panel is placed on top of the panel deck.

del_panel(S) destroys panel, but not its associated window.

Return values

new_panel( ) returns NULL if an error occurs.

del_panel( ) returns OK if successful, ERR otherwise.

Warning

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

Files


/usr/lib/libpanel.a
the library

See also

curses(S), panels(S), panel_update(S)

Standards conformance

new_panel(S) and del_panel(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003