TopBarMenu

TopBarFree

Release a top bar menu, its items and their submenus

Syntax

Signature
void        TopBarFree( TopBarMenu *topBar );

Arguments

topBar the menu to release, or NULL to do nothing.

Description

Freeing the bar releases its stored color specification and every menu item it owns. The application manages the lifetime of the data pointed to by the bar's cargo.

See also