Current File : //usr/man/man3curses/panel_show.3curses
'\" te
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
.TH panel_show 3CURSES "31 Dec 1996" "SunOS 5.11" "Curses Library Functions"
.SH NAME
panel_show, show_panel, hide_panel, panel_hidden \- panels deck manipulation routines
.SH SYNOPSIS
.LP
.nf
\fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lpanel\fR \fB -lcurses \fR [ \fIlibrary\fR .. ]
#include <panel.h>



\fBint\fR \fBshow_panel\fR(\fBPANEL *\fR\fIpanel\fR);
.fi

.LP
.nf
\fBint\fR \fBhide_panel\fR(\fBPANEL *\fR\fIpanel\fR);
.fi

.LP
.nf
\fBint\fR \fBpanel_hidden\fR(\fBPANEL *\fR\fIpanel\fR);
.fi

.SH DESCRIPTION
.sp
.LP
\fBshow_panel()\fR makes \fIpanel\fR, previously hidden, visible and places it on top of the deck of panels.
.sp
.LP
\fBhide_panel()\fR removes \fIpanel\fR from the panel deck and, thus, hides it from view. The internal data structure of the panel is retained.
.sp
.LP
\fBpanel_hidden()\fR returns \fBTRUE\fR \fB(1)\fR \fBor\fR \fBFALSE\fR \fB(0)\fR indicating whether or not \fIpanel\fR is in the deck of panels.
.SH RETURN VALUES
.sp
.LP
\fBshow_panel()\fR and \fBhide_panel()\fR return the integer \fBOK\fR upon successful completion or \fBERR\fR upon error.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp

.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i) 
lw(2.75i) |lw(2.75i) 
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
MT-LevelUnsafe
.TE

.SH SEE ALSO
.sp
.LP
\fBcurses\fR(3CURSES), \fBpanel_update\fR(3CURSES), \fBpanels\fR(3CURSES), \fBattributes\fR(5)
.SH NOTES
.sp
.LP
The header \fB<panel.h>\fR automatically includes the header \fB<curses.h>\fR\&.