From the course: Python GUI Development with Tkinter

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Presenting choices with check buttons and radio buttons

Presenting choices with check buttons and radio buttons

From the course: Python GUI Development with Tkinter

Start my 1-month free trial

Presenting choices with check buttons and radio buttons

- [Instructor] When you need the user to make a selection amongst several options, the check button and radio button are excellent widgets to use. Check buttons are a slightly more advanced version of the basic button. In addition to executing a call back function when clicked, they can also store a binary value. This makes check buttons ideal for when the user needs to select or unselect options from a series of choices. Radio buttons are similar to check buttons because they also maintain a value. However, unlike a check button, they're not limited to only two choices. Radio buttons allow a user to make one selection from a series of mutually exclusive options. Their ideal for when you only have a handful of choices for a user. For example, selecting your meal choice for a banquet. I've already imported the Tkinter package as well as the themed TK module and created my top level root window using the TK constructor method. So let's jump straight in to creating a check button. I'm…

Contents