panel_window(3curses)


panel_window: panel_window, replace_panel -- get or set the current window of a panels panel

Synopsis

   cc [flag . . .] file -lpanel -lcurses [library . . .] 
   

#include <panel.h>

WINDOW *panel_window(PANEL *panel); int replace_panel(PANEL *panel, WINDOW *win);

Description

panel_window returns a pointer to the window of panel.

replace_panel replaces the current window of panel with win.

<Return> value

panel_window returns NULL on failure.

replace_panel returns OK on successful completion, ERR otherwise.

Notices

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

References

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