PushButton

PushButtonGetCaption

Return the caption of the button

Syntax

Signature
const char     *PushButtonGetCaption( const PushButton *pushButton );

Return value

The stored caption, or NULL if the object is NULL.

Description

The text retains the `&` accelerator marker and may be empty. The pointer belongs to the button and stays valid until the caption is replaced or the button is freed.

See also