Actually, I can reproduce the error described by the original poster... I am not exactly sure about the true dynamics of the solution, but after_idle() method seems to solve the problem in a way. Perhaps, for one reason or the other, the program cannot return to the main window properly even though the open dialog is terminated.
Therefore: [code] def __init__(self, parent=None, picdir='.', artdir='.', **args): Frame.__init__(self, parent, args) self.parent = parent self.makeWidgets() self.pack(expand=YES, fill=BOTH) self.makeBindings() self.opens = picdir self.artpics = artdir self.drawn = None #note the use of after_idle() self.begin = self.after_idle(self.onOpen) self.pick = 'TBD' return [/code] 2010/8/24 Michael Lange <klappn...@web.de> > Hi, > > Thus spoketh "wet_colored)arch" <wet_colored_a...@yahoo.com> > unto us on Tue, 24 Aug 2010 00:51:32 -0700 (PDT): > > > > > > I cannot > > 1) enter content into the entry field without first trying to quit and > > then cancelling - I cannot expect the user to do this because it is not > > intuitive. I should be able to enter the entry field immediately if I > > want to. > > I cannot reproduce this here, as soon as the file dialog is closed I can > click into the entry and type something in. > > > 2) I cannot seem to get the radio button to default to something I > > want.. instead it has all buttons marked when the gui comes up. > > You need to define a value for the radiobutton's variable, otherwise all > buttons will be "off" when instantiated, so simply add something like > > self.var.set('key1') > > to makeWidgets() . > > I hope this helps > > Michael > > .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. > > Not one hundred percent efficient, of course ... but nothing ever is. > -- Kirk, "Metamorphosis", stardate 3219.8 > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss