Sept. 18, 2013
7:53 a.m.
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.
we should move it to SmalltalkHub.
Stef