Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: Thursday, June 13, 2019
 
 

panel_top(3CURSES)

Name

panel_top, top_panel, bottom_panel - panels deck manipulation routines

Synopsis

cc [ flag ... ] file ... –lpanel –lcurses [ library .. ]
#include <panel.h>



int top_panel(PANEL *panel);
int bottom_panel(PANEL *panel);

Description

top_panel() pulls panel to the top of the desk of panels. It leaves the size, location, and contents of its associated window unchanged.

bottom_panel() puts panel at the bottom of the deck of panels. It leaves the size, location, and contents of its associated window unchanged.

Return Values

All of these routines return the integer OK upon successful completion or ERR upon error.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See Also

curses(3CURSES), panel_update(3CURSES), panels(3CURSES), attributes(7)

Notes

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