button flash

Flashes the button between its active and normal colors.

PATHNAME flash

Description

In Tk, flash shows the button a few times in its active and its normal colors and then returns. In ztk the command shows no change. It runs no script.

Returns

An empty string.

Examples

% button .fl
> .fl flash

Errors

% button .fl2; .fl2 flash now
wrong # args: should be ".fl2 flash"
-errorcode TCL WRONGARGS

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also