Yes, I do root.destroy() after the dialog is complete. I just get: Program terminated by uncaught signal #10 after 5.37 seconds.
if I do not try to access the variable, but if I do try to access the variable it is signal 11. I'm on a mac running snow leopard if that may be part of the issue. Dan On Nov 29, 8:17 pm, Richard Jones <[email protected]> wrote: > On 30/11/2009, at 3:08 PM, Daniel wrote: > > > Any tips on getting a file dialog to work with pyglet? I naively > > tried: > > > root = Tkinter.Tk() > > root.withdraw() > > filename = tkFileDialog.askopenfilename() > > I use this in a pyglet app with no problems. What's the exception you get? > > Do you "root.destroy()" when the file dialog is finished with? > > Richard -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
