[wxPython-users] Re: Four wx.FileDialog() Questions

Rich Shepard rshepard at appl-ecosys.com
Tue Nov 28 09:11:05 PST 2006


On Tue, 28 Nov 2006, Brian Smith wrote:

> I think you may have misunderstood my last comment.  If the default file
> is not the problem, then it may be the default directory.  You are
> currently supplying self.dirname as the default directory.  The above code
> would find the absolute path for self.dirname which you could then use in
> the dialog's constructor.

Brian,

   That sunk in after I responded to your message. I realize, too, that I
should have a wx.DirDialog() in this method as well as in the createNew()
method.

   Adding the dialog directory resolved the gtk+2 complaint; it was a bad
directory choice. As a side note, even though the wx.CHANGE_DIR style is
presented, there is no change directory button on my linux display.

   Still, the FD_ prefixes generate squeals of discomfort from python, but
the dialog is working quite well without them.

   So, three out of four ain't bad at all. Thank you -- and the others -- for
your help.

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list