newpup(3G) newpup(3G)
NAME
newpup - allocates and initializes a structure for a new menu
C SPECIFICATION
long newpup()
PARAMETERS
none
FUNCTION RETURN VALUE
The returned value of this function is a menu identifier.
DESCRIPTION
newpup allocates and initializes a structure for a new menu; it returns a
positive menu identifier. Use newpup with addtopup to create pop-up
menus.
SEE ALSO
addtopup, defpup, dopup, freepup, setpup
NOTE
This routine is available only in immediate mode.
Page 1