PushButton

PushButtonKillFocus

Remove input focus from the button

Syntax

Signature
xBool           PushButtonKillFocus( PushButton *pushButton );

Arguments

pushButton the push button.

Return value

T on success, or F if the object is NULL.

Description

When the button has focus, this clears the focus flag, calls the focus callback if set, redraws the button and restores the cursor shape saved by `PushButtonSetFocus()`. Repeated calls on an unfocused button succeed without a focus transition.

See also