[Gtk-sharp-list] Gtk.IconTheme.Default.LoadIcon doesn't appear to work on the Mac

Mijael mikael at lucis.co.nz
Thu Aug 18 23:07:13 EDT 2011


So, my next question is:  I'm trying to pick up a generic folder icon as
follows:

MonoMac.AppKit.NSWorkspace sharedWorkspace = new
MonoMac.AppKit.NSWorkspace();
string fileType = MonoMac.AppKit.NSFileTypeForHFSTypeCode.FinderIcon;
MonoMac.AppKit.NSImage folderIcon = sharedWorkspace.IconForFileType(
fileType );

how do I then convert an NSImage to a Gdk.Pixbuf?

--
View this message in context: http://mono.1490590.n4.nabble.com/Gtk-IconTheme-Default-LoadIcon-doesn-t-appear-to-work-on-the-Mac-tp3753799p3754215.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list