I just started learning Python last week, and I was having a few issues with doing a GUI app in Tk.
My main problem is this: I have a list (each member of the list is a frame with a picture and some text in it) that populates itself by going through a folder with a bunch of pictures in it and making an entry (not the entry widget, a frame) for each one. As things are, the program takes about 15 seconds after starting it before the window actually pops up because the list takes so long to populate. How would I go about populating this list after the window pops up, so that the user can start scrolling through it while it's on its way? (P.S., I might want to load something like ten members, then start the window, then load the rest if possible.)
Secondly, each picture has tags associated with it (like green, or hasPerson) that I'd like to be able to filter the list with. I can simply go through the list and destroy the members that don't have the required tag, but if I decide to look at pictures with another tag later, I'd rather not have to reload the list. In other words, I'd like to load the list once at the beginning of the program and not have to load it again. Is there a way I can temporarily hide widgets?
Ty in advance.