Checkbutton Methods

In addition to configure and cget, the following methods are supported by Checkbutton:

deselect

Sets the indicator to off.

select

Sets the indicator to on.

flash

Causes the button to flash from the normal to active state colors.

invoke

Invokes the callback command as if the checkbuttons were clicked.

toggle

Toggles the indicator from on to off, or from off to on.

Get Perl in a Nutshell, 2nd Edition 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.