Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Curses Library Functionspanel_window(3CURSES)


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

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.


ATTRIBUTES

 

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

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelUnsafe

SEE ALSO

 

curses(3CURSES), panels(3CURSES), attributes(5)


NOTES

 

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



SunOS 5.9Go To TopLast Changed 31 Dec 1996