annagel wrote: > Thanks for the reply and as it turns out no I don't think I really do > want to do this. I started working with tkinter after banging my head > against the wall for a while with wxwindows so the whole thing ended up > being a last minute change so I am trying to get most at least of the > bugs out on a tighter scedule than I planned. Basically coming from wx > I had it in my head that I had to call a main loop or nothing would > work and this meant threads which meant all kinds of extra headaches. > In my desperation I dropped the whole thing and just started opening > windows and to my utter suprise it worked. > > Now I just initialize a root window in my import statement withdraw it > and let the user use a picture viewer I made with a toplevel window, a > file chooser, folder chooser, and color chooser. I am still having a > couple problems though if anyone out there can shed some light I would > be apreciative. First the ColorChooser for some reason this dialog > does not open on its own. I am running on Mac and calling it gets my > python icon bouncing but it does not appear till I go click on the > icon. Second I am getting phantom window return with the folder and > file picker. If I have used one of these before showing the picture > viewer and then pop that up when I click on the picture window I also > get the most recent file dialog (filenameopen or directoryopen) as an > unresponsive window. > > Any advice on either of those problems would be great. Sorry about the > intial post in my head I knew doing something like that would just be > evil, but you start to think crazy when your sollution is too > complicated for the problem. > > Andrew >
Andrew, Glad to hear you got it working, could you post some example code that shows these other problems? Martin -- http://mail.python.org/mailman/listinfo/python-list