Python Tkinter ListBox

Tkinter ListBox

The Listbox widget is a standard Tkinter widget used to display a list of alternatives.

Listboxes are used to select from a group of textual items. Depending on how the listbox is configured, the user can select one or many items from that list.

Syntax:

                   
 w = Listbox(parent, options)


Example 1:

Output:

python tk Listbox

Example 2:

Output:

python tk Listbox