Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dopup(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

dopup()  —  Silicon Graphics

NAME

dopup - calls up the indicated popup menu

SPECIFICATION

C
dopup(pup)
long pup;

FORTRAN
subroutine dopup(pup)
integer*4 pup

Pascal
procedure dopup(pup: longint);

DESCRIPTION

dopup displays the indicated popup menu waiting for the user to make 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 is the value 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 buttoning or rolling off the side of a menu item. The specific selection and return value behavior is specified when the menu is defined using defpup or addtopup.  See the defpup man page for specific details. 

SEE ALSO

defpup, addtopup, newpup, freepup
“Multiple Exposure: The IRIS Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode while in the window manager. 

Version 2.4  —  May 08, 1986

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