Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dopup(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

dopup()  —  Silicon Graphics

NAME

dopup − displays the specified pop-up menu

SPECIFICATION

C
dopup(pup)
long pup;

FORTRAN
subroutine dopup(pup)
integer*4 pup

Pascal
procedure dopup(pup: longint);

DESCRIPTION

dopup displays the specified pop-up menu until the user makes a selection. If the process has the input focus, the menu is displayed and dopup returns the value resulting from the item selection. The value can be returned by a submenu, a function, or a number bound directly to an item.  If no selection is made, dopup returns −1.  Item selection is performed by either selecting or rolling off the side of a menu item. When the menu is defined, defpup or addtopup specify the specific selection and return value behavior.  See defpup for specific details. 

SEE ALSO

defpup, addtopup, newpup, freepup Using mex, the IRIS Window Manager

NOTE

This routine is available only in immediate mode while in the window manager. 

Version 2.5r1  —  October 29, 1986

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