Thanks, Stephane, I'll switch to P9.

> png is better and there is a library to manage icons
> I do not have the name but you can load icons.
> But look around.

For icons I found the necessary code in ThemeIcons>>loadIconsFromUrl. Here's a simplistic approach to load icons from PNGs in a local ZIP archive, if somebody needs it:

| themeIcons newIcons |

newIcons := IdentityDictionary new.
themeIcons := ThemeIcons new.

((FileSystem zip: 'C:\icons\a.zip' asFileReference)
    open workingDirectory allChildrenMatching: '*.png') do:
        [ :each | newIcons
            at: each base asSymbol
            put: (themeIcons readPNGFrom: each )].
newIcons.

Best wishes,
Tomaz

Reply via email to