Allocates and initializes a structure for a new menu.
FORTRAN (libfgl.a)
Int32 newpup( )
The newpup subroutine allocates and initializes a structure for a new menu. The return value is a positive menu identifier.
Use this subroutine with the addtopup subroutine to create pop-up menus.
Note: This subroutine cannot be used to add to a display list.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Adding an item to an existing pop-up menu with the addtopup subroutine.
Defining a pop-up menu with the defpup subroutine.
Displaying a pop-up menu with the dopup subroutine.
Deallocating a pop-up menu and its data structures with the freepup subroutine.
Enabling or disabling a given pop-up entry with the setpup subroutine.
AIX Graphics Library Overview and Creating and Managing Pop-Up Menus.