[Gtk-sharp-list] File Icons

Pavel Bansky levap at bansky.net
Wed Apr 12 12:50:03 EDT 2006


Hi,

this is one works for me
http://www.codeguru.com/csharp/csharp/cs_misc/icons/article.php/c4261/

Jensen Somers wrote:

> Hi,
> 
> For a cross platform application I'm currently working on, I need to 
> create a directory list. I did this by using a TreeView with a ListStore 
> and everything works fine. But I'd like to show the file icon before 
> it's name. I would like to use the systems file icons (eg the default 
> WAV icon on Windows is the Windows Media Player icon, ...) but I can't 
> find any info on how to do this.
> Most applications I found creating a directory list view don't use any 
> icons or created 2 icon files and use them, but that's not what I plan 
> to do.
> 
> Kind regards,
>    Jensen
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 

-- 
__________________________________________________________

Pavel Bánský
levap at bansky.net                        I write code...
__________________________________________________________


More information about the Gtk-sharp-list mailing list