Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newpup(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

newpup(3G)  —  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; it returns a positive menu identifier.  Use newpup with addtop to create pop-up menus in FORTRAN programs. 

SEE ALSO

addtopup, defpup, dopup, freepup Using mex, Chapter 3, Making Pop-Up Menus

NOTE

This routine is available only in immediate mode under the window manager.  It cannot be used remotely. 

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026