ButtonBar

ButtonBarFree

Release a button bar and the items it owns

Syntax

Signature
void        ButtonBarFree( ButtonBar *buttonBar );

Arguments

buttonBar the button bar to release, or NULL to do nothing.

Description

Freeing the bar releases each added menu item and the stored color specification. The application manages the lifetime of the data pointed to by the bar's cargo.

See also