On Dec 30, 2017, at 3:27 PM, Christian Schmitz <supp...@monkeybreadsoftware.de> 
wrote:
> 
>> 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))
> 
> iconMBS class is macOS only.
> 
> folderitem.IconMBS is a different function!

Aha!  And Xojo 2017r3 doesn't autocomplete the Folder.IconMBS, so I didn't 
notice that one.  Changed it and it works fine for Windows.  Thanks!

>> 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.
> 
> I am not sure if those functions would help.

Any other ideas for Linux?

Thanks,
Tim

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

Reply via email to