[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    panel_window(3X) manual page Table of Contents

Name

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);

MT-Level

Unsafe

Description

panel_window() returns a pointer to the window of panel.

replace_panel() replaces the current window of panel with win.

Return Values

panel_window() returns NULL on failure.

replace_panel() returns OK on successful completion, ERR otherwise.

See Also

curses(3X) , panels(3X)

Notes

The header <panel.h> automatically includes the header <curses.h>.


Table of Contents