I'm not sure the window disappears. For me the size gets set to 1 pixel by 1 pixel, and so is not visible. This command resizes: `Tk.set_size(win, 300, 300)`, which makes the window visible for me.
On Friday, August 28, 2015 at 12:47:03 PM UTC-4, andrew cooke wrote: > > How do I make TK windows sit there while I look at them? At the moment, I > have code, based on > http://julialang.org/blog/2013/05/graphical-user-interfaces-part2/ that > flashes a window on the screen, but then the program finishes and the > window disappears. > > I could add a "while true", but I assume there's some Tk function I call > that "takes over" until the user kills the window? > > Thanks, > Andrew > >
