Skip to content

Latest commit

 

History

History
 
 

README.md

tkinter.Listbox()

Table of Contents


Links


event-listboxselect-get-curselection

It shows how to use event <<ListboxSelect>> to execute function after selecting row on list.

It also shows how to use event to get access to Listbox and get selected element from listbox.


listbox-filtered-by-entry

It uses Entry to filter items on Listbox


listbox-populate-entry

After click on list <<ListboxSelect>> executes function which gets data from list (as single string) splits it to three elements using slicing and strip(), and puts elements in three Entries

Program use:

  • "{:10s}|{:15s}|{:10s}" to format columns in text,
  • monospaced font font=('monospace', 10) to correctly display columns on list.

#1