PushButton

PushButtonSetFocus

Give input focus to the button

Syntax

Signature
xBool           PushButtonSetFocus( PushButton *pushButton );

Arguments

pushButton the push button.

Return value

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

Description

On gaining focus, the button saves the cursor shape, hides the cursor, sets the focus flag and redraws itself. It then calls the focus callback if set. Repeated calls on a focused button succeed without a focus transition.

See also