GenericWinDirCtrl can be used to place a directory listing (with optional files) on an arbitrary window. The control contains a wx.TreeCtrl representing the directory hierarchy, and optionally, a wx.Choice containing a list of filters.

GenericWinDirCtrl is not derived from wx.GenericDirCtrl. Instead, it only aims to replace the latter with 'nicer' icons under msw, what means that:

- All icons are real 16x16 icons (not downscaled 32x32 icons);

- Executable files, cursors, animated cursors and icons themselves are shown with their own icons;

- The default icons for folders, executables and other files are read from system files.

The constructor and methods work (mostly) in the same way as for a wx.GenericDirCtrl so that both remain interchangeable.

Downloads, screenshots, demo and more info can be found at: http://j.domaindlx.com/elements28/wxpython/GenericWinDirCtrl.html

It also requires the Python for Win32 Extensions. If you don't have them installed you can find them at: http://starship.python.net/crew/mhammond

http://j.domaindlx.com/elements28/imagens/genwindirctrl.png

Tacao

GenericWinDirCtrl (last edited 2008-03-11 10:50:23 by localhost)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.