[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

freepup Subroutine

Purpose

Deallocates a menu.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void freepup(Int32 popup)

FORTRAN Syntax

SUBROUTINE FREEPU(popup)
INTEGER*4 popup

Description

The freepup subroutine deallocates a pop-up menu, freeing the memory reserved for its data structures.

Note: This subroutine cannot be used to add to a display list.

Parameter

popup Specifies the pop-up menu to deallocate.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.

Files

/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.

Related Information

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.

Allocating and initializing a structure for a new pop-up menu with the newpup subroutine.

Enabling or disabling a given pop-up entry with the setpup subroutine.

AIX Graphics Library Overview and Creating and Managing Pop-Up Menus.


[ Previous | Next | Contents | Glossary | Home | Search ]