Hi,

There is already a utility method to import a folder of icons into the image.
You can use:
Smalltalk ui theme icons readIconMethodsFromDirectory: '/Users/me/myIconFolder' 
asFileReference

Regards,
Christophe.

Le 16 sept. 2013 à 18:08, Stéphane Ducasse a écrit :

> 
>> Hi,
>> 
>> Take a look at Form.
>> 
>> Icons don't have a class that models them, so they're an ImageMorph
>> with a Form, that was either imported from externally (jpg, bmp,png )
>> or stored in the image in a method.
>> 
>> For examples look at ThemeIcons.
>> 
>> BTW, In the past I've did an icon family importer, you could use to
>> automatically fetch external icons and store in the image.
>> 
>> http://www.squeaksource.com/@Rob10iGjuJJag2hV/BVCvaSPt
> 
> we should move it to SmalltalkHub.
> 
> Stef
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to