DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

panel_new(S-osr5)


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-osr5) 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-osr5) 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-osr5), panels(S-osr5), panel_update(S-osr5)

Standards conformance

new_panel(S-osr5) and del_panel(S-osr5) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005