I think you need to implement the wx.DirPickerCtrl widget and set the proper style flag so that you can make the widget dockable. And since this wx.DirPickerCtrl inherits from wx.Window, you can use one (or more, of course) of the wx.Window’s styles for the wx.DirPickerCtrl widget. Anyone please correct me if I am wrong here.
I think you need to implement the wx.DirPickerCtrl widget and set the proper
Correct me if I'm wrong, but this is a Directory browser, not a File
Browser.
I need for the user to be able to select files.
Is anyone else having this problem on Windows 7 Pro (32-bit)?
When I pass the directory path to the DirPickerCtrl, the path is
ignored.
The DirPicker starts at C:\\.
I think I had some problems with the 2.7 installer on Windows, and had
to back down to 2.6.6
···
On Oct 19, 9:49 am, Boštjan Mejak <bostjan.me...@gmail.com> wrote:
Try installing Python 2.7 and then install wxPython 2.8.11 Unicode for
Python 2.7. Just a test if anything would change.
On Mon, Oct 18, 2010 at 7:31 AM, cappy2112 <cappy2...@gmail.com> wrote:
> Thanks, but ....
> > I think you need to implement the wx.DirPickerCtrl widget and set the
> proper
> Correct me if I'm wrong, but this is a Directory browser, not a File
> Browser.
> I need for the user to be able to select files.
> Is anyone else having this problem on Windows 7 Pro (32-bit)?
> When I pass the directory path to the DirPickerCtrl, the path is
> ignored.
> The DirPicker starts at C:\\.
> I remember seeing this a while ago.
> I'm using wx '2.8.11.0', Python 2.6.6
> --
> To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> or visithttp://groups.google.com/group/wxPython-users?hl=en
Really? What kind of problems? It seems to me that your computer is broken and so you don’t see expected results of your application. Just a thought to hang on.
Really? What kind of problems? It seems to me that your computer is broken
and so you don't see expected results of your application. Just a thought to
hang on.
FYI: the version of Python that you use has little to no affect on how
wxPython will work. So suggesting to update the Python version as a
fix is not going to make any difference on how a wx control works.
As for the DirPickerCtrl, I am seeing similar behavior. If I set the
initial path to be the root of a drive (i.e C:\\ or V:\\, etc..) then
the dialog will correctly have that path selected but if I try
something like r"C:\\Windows" then the dialog selects "My Documents"
by default. May want to check trac for a reported bug or report it if
it hasn't been already.
p.s) Could you guys please not top post
(Posting style - Wikipedia)? It makes it really hard
to follow the discussion. Its preferred to bottom post like I did in
this reply by putting my response below previous text.
No- someone on the list confirmed a bug with the installer. It was
fixed in 3.x but not ported to 2.x
···
On Oct 20, 10:21 am, Boštjan Mejak <bostjan.me...@gmail.com> wrote:
Really? What kind of problems? It seems to me that your computer is broken
and so you don't see expected results of your application. Just a thought to
hang on.
On Wed, Oct 20, 2010 at 6:42 AM, cappy2112 <cappy2...@gmail.com> wrote:
> I think I had some problems with the 2.7 installer on Windows, and had
> to back down to 2.6.6
> On Oct 19, 9:49 am, Boštjan Mejak <bostjan.me...@gmail.com> wrote:
> > Try installing Python 2.7 and then install wxPython 2.8.11 Unicode for
> > Python 2.7. Just a test if anything would change.
> > On Mon, Oct 18, 2010 at 7:31 AM, cappy2112 <cappy2...@gmail.com> wrote:
> > > Thanks, but ....
> > > > I think you need to implement the wx.DirPickerCtrl widget and set the
> > > proper
> > > Correct me if I'm wrong, but this is a Directory browser, not a File
> > > Browser.
> > > I need for the user to be able to select files.
> > > Is anyone else having this problem on Windows 7 Pro (32-bit)?
> > > When I pass the directory path to the DirPickerCtrl, the path is
> > > ignored.
> > > The DirPicker starts at C:\\.
> > > I remember seeing this a while ago.
> > > I'm using wx '2.8.11.0', Python 2.6.6
> > > --
> > > To unsubscribe, send email to
> wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> <wxPython-users%2Bunsubscribe@googlegroups.com<wxPython-users%252Bunsubscribe@googlegroups.com>
> > > or visithttp://groups.google.com/group/wxPython-users?hl=en
> --
> To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> or visithttp://groups.google.com/group/wxPython-users?hl=en
> Really? What kind of problems? It seems to me that your computer is broken
> and so you don't see expected results of your application. Just a thought to
> hang on.
FYI: the version of Python that you use has little to no affect on how
wxPython will work. So suggesting to update the Python version as a
fix is not going to make any difference on how a wx control works.
As for the DirPickerCtrl, I am seeing similar behavior. If I set the
initial path to be the root of a drive (i.e C:\\ or V:\\, etc..) then
the dialog will correctly have that path selected but if I try
something like r"C:\\Windows" then the dialog selects "My Documents"
by default. May want to check trac for a reported bug or report it if
it hasn't been already.