0

How can I insert multiple values in a tkinter listbox column? Normally there is only one value in each column, but is there a way to insert multiple values in to one column.

For Example:

column1

A,B

2

1 Answer 1

0

There's nothing special you need to do. Just pass them all to the insert method:

the_listbox.insert("end", "one", "two", "three", "four")
Sign up to request clarification or add additional context in comments.

3 Comments

Hey it works, but they are shown underneath each other. How can I manage them to be next to each other on the right side.
@Dan: yes, the listbox only supports a single column, and you said you wanted them in the same column. Asking how to display multiple columns in a listbox is a completely different question.
ok, do you knnow how to do it?