panel_window(3ocurses)


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

Synopsis

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

References

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