On Dec 30, 2017, at 2:41 PM, Christian Schmitz <supp...@monkeybreadsoftware.de> 
wrote:
> 
>> Am 30.12.2017 um 22:38 schrieb Tim Jones <tolis...@me.com>:
>> 
>> Hi Folks,
>> 
>> I'm "improving" a cross platform app for Windows and Linux and need to 
>> access file/folder icons similar to the way I can in Mac OS.  I've been 
>> using IconMBS and IconFamilyMBS for quite a while on the Mac, but now that 
>> I've looked at the docs, it is listed as not supporting Linux or Windows.
> 
> I think folderitem.IconMBS works on Windows, too.

Hmmm, just tried and I get an UnsupportedOperationException when I try to get a 
generic icon for C: -

        i = New IconMBS(GetFolderItem("C:\", FolderItem.PathTypeNative))

That same function works for Mac:

        i = New IconMBS(GetFolderItem("/Volumes", FolderItem.PathTypeNative))

Also, any chance that it could work for Linux?  GTK-3 has icon convenience 
functions - the gtk_icon_theme_* functions.  Outlined in 
/usr/include/gtk-3.0/gtk/gtk.h.

Thanks,
Tim

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to