'\" te .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved. .TH panel_window 3CURSES "31 Dec 1996" "SunOS 5.11" "Curses Library Functions" .SH NAME panel_window, replace_panel \- get or set the current window of a panels panel .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lpanel\fR \fB -lcurses \fR [ \fIlibrary\fR .. ] #include \fBWINDOW *\fR\fBpanel_window\fR(\fBPANEL *\fR\fIpanel\fR); .fi .LP .nf \fBint\fR \fBreplace_panel\fR(\fBPANEL *\fR\fIpanel\fR, \fBWINDOW *\fR\fIwin\fR); .fi .SH DESCRIPTION .sp .LP \fBpanel_window()\fR returns a pointer to the window of \fIpanel\fR. .sp .LP \fBreplace_panel()\fR replaces the current window of \fIpanel\fR with \fIwin\fR. .SH RETURN VALUES .sp .LP \fBpanel_window()\fR returns \fINULL\fR on failure. .sp .LP \fBreplace_panel()\fR returns \fBOK\fR on successful completion, \fBERR\fR otherwise. .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), \fBpanels\fR(3CURSES), \fBattributes\fR(5) .SH NOTES .sp .LP The header \fB\fR automatically includes the header \fB\fR\&.