Blog

python tutorials and learn python

Created with Sketch.

Tkinter Treeview

Tkinter Treeview Summary: in this tutorial, you’ll learn about the Tkinter Treeview widget and how to use it to display both tabular and hierarchical data. Introduction to the Tkinter Treeview widget A Treeview widget allows you to display data in both tabular and hierarchical structures. To create a Treeview widget, you use the ttk.Treeview class:…
Read more

Tkinter Notebook

Tkinter Notebook Summary: in this tutorial, you’ll learn how to use the Tkinter Notebook widget to create tabs. Introduction to the Tkinter Notebook widget The Notebook widget allows you to select pages of contents by clicking on tabs: When you click one of these tabs, the Notebook widget will display a child pane associated with…
Read more

Tkinter Progressbar

Tkinter Progressbar Summary: in this tutorial, you’ll learn about the Tkinter Progressbar widget. Introduction to the Tkinter Progressbar widget A Progressbar widget allows you to give feedback to the user about the progress of a long-running task. To create a Progressbar widget, you use the ttk.Progressbar class: ttk.Progressbar(container, **options) Code language: Python (python) The following…
Read more

Tkinter LabelFrame

Tkinter LabelFrame Summary: in this tutorial, you’ll how to use the Tkinter LabelFrame widget that contains other widgets. Introduction to the Tkinter LabelFrame Tkinter LabelFrame widget is a container that contains other related widgets. For example, you can group Radiobutton widgets and place the group on a LabelFrame. To create a LabelFrame widget, you use…
Read more

Tkinter Sizegrip

Tkinter Sizegrip Summary: in this tutorial, you’ll learn how to use the Tkinter Sizegrip widget that allows you to resize the entire application window. Introduction to the Tkinter Sizegrip widget The Sizegrip widget typically locates in the bottom right corner of the window. It allows you to resize the enter application window: To create a…
Read more

Tkinter Spinbox

Tkinter Spinbox Summary: in this tutorial, you’ll learn how to create Tkinter Spinbox widgets. Introduction to the Tkinter Spinbox widget A Spinbox widget allows you to select a value from a set of values. The values can be a range of numbers. A Spinbox has an area for showing the current value and a pair…
Read more

Tkinter Slider

Tkinter Slider   Summary: in this tutorial, you’ll learn how to create a slider using the Tkinter Scale widget. Introduction to Tkinter slider widget A slider allows you to enter a value by moving an indicator. A slider can be vertical or horizontal: To create a slider, you’ll use the ttk.Scale() constructor as follows: ttk.Scale(container,from_,to)…
Read more

Tkinter PanedWindow

Tkinter PanedWindow Summary: in this tutorial, you’ll learn how to use the Tkinter PanedWindow widget to divide the space of a frame or a window. Introduction to the Tkinter PanedWindow widget The PaneWindow widget divides the space of a frame or a window. A PaneWindow is like a Frame that acts as a container for…
Read more

Tkinter Listbox

Tkinter Listbox Summary: in this tutorial, you’ll learn how to use the Tkinter Listbox widget to display a list of items. Introduction to the Tkinter Listbox A Listbox widget displays a list of single-line text items. A Listbox allows you to browse through the items and select one or multiple items at once. To create…
Read more

Tkinter Combobox

Tkinter Combobox Summary: in this tutorial, you’ll learn to create a Tkinter Combobox widget that allows users to select one value from a set of values. Introduction to the Tkinter Combobox widget A Combobox is a combination of an Entry widget and a Listbox widget. A Combobox widget allows you to select one value in…
Read more