new_panel(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
NEW_PANEL(3)            NetBSD Library Functions Manual           NEW_PANEL(3)

new_panel, panel_window, replace_panel, del_panel -- panel routines
Z-order for curses windows (libpanel, -lpanel)
#include <panel.h> PANEL * new_panel(WINDOW *win); WINDOW * panel_window(PANEL *p); int replace_panel(PANEL *p, WINDOW *win); int del_panel(PANEL *p);
The function new_panel() creates a new panel associated with the curses window win. The new panel is visible and is placed at the top of the deck. The curses window associated with a panel may be obtained with panel_window() and changed with replace_panel(). The function del_panel() hides the panel and deletes it. Note that the curses window associated with the panel is not deleted.
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values: OK The function completed successfully. ERR An error occurred in the function.
panel(3) NetBSD 10.99 October 28, 2015 NetBSD 10.99
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.