panel_userptr(3X) panel_userptr(3X)
NAME
paneluserptr: setpaneluserptr, paneluserptr - associate
application data with a panels panel
SYNOPSIS
#include <panel.h>
int setpaneluserptr(PANEL *panel, char *ptr);
char * paneluserptr(PANEL *panel);
DESCRIPTION
Each panel has a user pointer available for maintaining relevant
information.
setpaneluserptr sets the user pointer of panel to ptr.
paneluserptr returns the user pointer of panel.
RETURN VALUE
setpaneluserptr returns OK if successful, ERR otherwise.
paneluserptr returns NULL if there is no user pointer assigned to
panel.
NOTES
The header file <panel.h> automatically includes the header file
<curses.h>.
SEE ALSO
curses(3X), panels(3X).
8/91 Page 1