The size of the border around the indicator. To display a monochrome image on a button. The normal background color displayed behind the label and indicator. These options can be used as key-value pairs separated by commas.īackground color when the checkbutton is under the cursor.įoreground color when the checkbutton is under the cursor.
Options − Here is the list of most commonly used options for this widget. Master − This represents the parent window.
Here is the simple syntax to create this widget − You can also display images in place of text.
The user can then select one or more options by clicking the button corresponding to each option. The Checkbutton widget is used to display a number of options to a user as toggle buttons.