Python Forum
separating different parts of a listbox - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: separating different parts of a listbox (/thread-2280.html)



separating different parts of a listbox - gray - Mar-04-2017

in generally, how can i seprate the different psrts of one item from listbox.
in reality, this item is a row of the listbox. the different parts of a item (a row)is seprated by columns... 
please one clue
pleeeeease Cry


RE: separating different parts of a listbox - Barrowman - Mar-04-2017

Sorry but I don't understand what it is you want. Have you already written some code?
If you have please post it.
Can you post a diagram showing what you want?


RE: separating different parts of a listbox - merlem - Mar-04-2017

If I understand the problem (I'm far from being sure in that point), then you might consider using .split().


RE: separating different parts of a listbox - buran - Mar-06-2017

Your question is unclear. What GUI framework is being used? If I understand correctly, you want to display multiple columns in a listbox. In this case you may want to have a look at Tkinter's ttk.TreeView widget. If using different framework, there are similar widgets