28
loading...
This website collects cookies to deliver better user experience
Recap Tkinter is the inbuilt python module that is used to create GUI applications. It is one of the most commonly used modules for creating GUI applications in Python as it is simple and easy to work with. For more information about Tkinter and it's advantages, please check out the previous part of the course.
Defination A software widget is a relatively simple and easy-to-use software application or component made for one or more different software platforms.
Button
Our plain old button. Python allows us to set the look and feel of the button.
Canvas
The canvas widget adds graphics to the window. It can be used to draw graphs in the application.
Checkbox
Checkbox (or check-button) is an on-off type of button. The user can give binary inputs by clicking the button on or clicking the button off. The user can select one or all choices from the available list.
Radiobutton
The Radiobutton also is an on-off type of button, but the user can only select one (and only one) out of the all available choices.
Radio buttons are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. In other words, clicking a non-selected radio button will deselect whatever other button was previously selected in the list.
Checkboxes are used when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn't uncheck the others.
More on Checkboxes vs. Radio Buttons By Nielsen Norman Group