PopUpMenu

PopUpFree

Release a pop-up menu, its items and their submenus

Syntax

Signature
void        PopUpFree( PopUpMenu *popUp );

Arguments

popUp the pop-up menu to release, or NULL to do nothing.

Description

Close an open menu with `PopUpClose()` before freeing it to restore the saved screen region. Freeing the menu releases the saved screen buffer and the stored texts. The application manages the lifetime of the data pointed to by the menu's cargo.

See also