Tkinter is a GUI (Graphical User Interface) module which comes along with the Python itself. This module is widely used to create GUI applications.
tkinter.ttk is used to create the GUI applications with the effects of modern graphics which cannot be achieved using only tkinter. Checkbutton is used to select multiple options.
Checkbuttons can be created using following snippet.
chkbtn = ttk.Checkbutton(master, option=value, ...)
Code #2: Difference between simple
Notice the difference in the appearance of both the Checkbuttons which is all due to the modern graphics. In the above Code when mouse is being hovered over the
ttk.Checkbutton you may see a blue color effect (effect may change from os from os). When we hover mouse over Simple Checkbutton you may not experience any such kind of effects.
- Python | Simple GUI calculator using Tkinter
- Python | Simple calculator using Tkinter
- Python | Simple registration form using Tkinter
- Python | Simple FLAMES game using Tkinter
- Python | How to dynamically change text of Checkbutton
- Python GUI - tkinter
- Different messages in Tkinter | Python
- Python | after method in Tkinter
- RadioButton in Tkinter | Python
- Color game using Tkinter in Python
- Collapsible Pane in Tkinter | Python
- destroy() method in Tkinter | Python
- resizable() method in Tkinter | Python
- Python | winfo_ismapped() and winfo_exist() in Tkinter
- minsize() method in Tkinter | Python
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.