Flashing the Button

Theflash method will cause the Button to appear to be “flashing” on the screen. It changes back and forth from the normal state colors to the active state colors:

$button->flash(  );

Get Mastering Perl/Tk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.