2 .\" Copyright 1989 AT&T
3 .\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH PANEL_USERPTR 3CURSES "Dec 31, 1996"
9 panel_userptr, set_panel_userptr \- associate application data with a panels
14 \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lpanel\fR \fB -lcurses \fR [ \fIlibrary\fR .. ]
19 \fBint\fR \fBset_panel_userptr\fR(\fBPANEL *\fR\fIpanel\fR, \fBchar *\fR\fIptr\fR);
24 \fBchar *\fR \fBpanel_userptr\fR(\fBPANEL *\fR\fIpanel\fR);
30 Each panel has a user pointer available for maintaining relevant information.
33 \fBset_panel_userptr()\fR sets the user pointer of \fIpanel\fR to \fIptr\fR.
36 \fBpanel_userptr()\fR returns the user pointer of \fIpanel\fR.
40 \fBset_panel_userptr\fR returns \fBOK\fR if successful, \fBERR\fR otherwise.
43 \fBpanel_userptr\fR returns \fINULL\fR if there is no user pointer assigned to
48 See \fBattributes\fR(5) for descriptions of the following attributes:
56 ATTRIBUTE TYPE ATTRIBUTE VALUE
64 \fBcurses\fR(3CURSES), \fBpanels\fR(3CURSES), \fBattributes\fR(5)
68 The header \fB<panel.h>\fR automatically includes the header