Differences between revisions 2 and 3
Revision 2 as of 2005-12-30 02:17:39
Size: 1147
Editor: 200
Comment:
Revision 3 as of 2008-03-11 10:50:23
Size: 1151
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
http://j.domaindlx.com/elements28/imagens/genwindirctrl.png {{http://j.domaindlx.com/elements28/imagens/genwindirctrl.png}}
Line 29: Line 29:
["Tacao"] [[Tacao]]

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.