[wxPython-users] How do I find/display the icons associated with file type

Werner F. Bruhin werner.bruhin at free.fr
Sun Sep 2 10:16:23 PDT 2007


Geoff,

Geoff Skerrett wrote:
> I am hoping someone can point me in the right direction.
>  
> We have an application where users can select files from directories.
> The resulting files are displayed in a CustomTree control.
>  
> We would like the to display the associated icon for the file type -- 
> so if it is a PDF file, then the icon for Acrobat Reader would 
> display, if the file is an Excel spreadsheet, the Excel icon display, etc.
>  
> Does anyone do something similiar ?
> If not, any suggestions would be appreciated.
> - currently all files use a generic icon in the tree control, so this 
> is a "usability" feature we would like to add.
Have a look in the archive of this list, around the middle of June there 
was a thread on this "[wxPython-users] Fetch file's associated icon"

Werner




More information about the wxpython-users mailing list