[wxPython-users] Re: directory control

Josiah Carlson jcarlson at uci.edu
Thu Sep 28 22:11:55 PDT 2006


Bryan <belred at gmail.com> wrote:
> 
> Andrea Gavana wrote:
> 
> > Hello Bryan,
> > 
> >> does anyone know how to get a directory control that would show
> >> something similar to the windows file system view that shows the Desktop
> >> as the root folder with My Computer, My Network Places, etc.  the
> >> windows explorer left pane is exactly what i'm looking for.  We want to
> >> embed this control in our app, not have it as a model dialog.
> > 
> > I dont know if it will be of any help, but you may want to look at
> > Tacao's implementation of GenericWinDirCtrl at:
> > 
> > http://j.domaindlx.com/elements28/wxpython/GenericWinDirCtrl.html
> > 
> > It is quite similar to GenericDirCtrl in wxPython, but it has a far
> > nicer appearance (in my opinion). However, if you are working
> > multiplatform, no way: it runs only on Windows.
> > 
> > HTH.
> > 
> > Andrea.
> > 
> > "Imagination Is The Only Weapon In The War Against Reality."
> > http://xoomer.virgilio.it/infinity77/
> 
> 
> andrea,
> 
> thanks for replying.  graphically GenericWinDirCtrl is better than the
> GenericDirCtrl.  it uses the correct folder and file associated icons, but
> it still doesn't show Desktop and My Documents at the top level.  the
> control in DirDialog is *exactly* what we're looking for.  is there a way
> to get the control out of DirDialog?

It is a native control. I don't know if it is embeddable.

You could attempt to modify the GenericWinDirCtrl to include the
features you need.

 - Josiah





More information about the wxpython-users mailing list