I have an ObjectListView in wxPython that I would like to split into two identical lists that sit next to each other instead of one long list with a scrollbar. So, instead of:
Column 1 -- Column 2 -- Column 3
data data data
data data data
I would like it to look like this:
Column 1 -- Column 2 -- Column 3 Column 1 -- Column 2 -- Column 3
data data data data data data
Of course, with more data split evenly between them, if possible. Is there a way to accomplish this without making two separate lists? The reason I don't want to make two lists is that I have one large object list I'd like to pass it and with two lists I think I'd have to split the object in two and send a section to each list; if elegance is an option, I'd prefer it.
If you use
list_B = list_A
you are not making "another" list, instead you are simply saying that there are 2 names for the same list, they both point to the same thing. You can useid()
to check that this is true.