newpup() — Silicon Graphics
NAME
newpup − allocates and initializes a structure for a new menu
SPECIFICATION
C
long newpup()
FORTRAN
integer*4 function newpup()
Pascal
function newpup:longint;
DESCRIPTION
newpup allocates and initializes a structure for a new menu. Use newpup with addtopup to create pop-up menus in FORTRAN and Pascal programs.
SEE ALSO
defpup, addtopup, dopup, freepup
NOTE
This routine is available only in immediate mode in the window manager. It cannot be used remotely.
Version 2.5 — April 22, 1987