pub fn new_panel(window: WINDOW) -> Result<PANEL, NCurseswPanelsError>
Expand description

Allocates a PANEL structure, associates it with win, places the panel on the top of the stack (causes it to be displayed above any other panel) and returns a pointer to the new panel.