Re: [TDK-BETA] General usability - Tclapp and .icns icons
by Peter Caffin other posts by this author
Dec 8 2006 3:50PM messages near this date
view in the new Beta List Site
Re: [TDK-BETA] General usability - Tclapp and .icns icons
|
Re: [TDK-BETA] General usability - Tclapp and .icns icons
On Fri, 8 Dec 2006, Andreas Kupries wrote:
> > For the OS X version, it would make sense for the Custom Icon to control
> > the .icns icon included if the user has chosen to create an Application
> > Bundle.
>
> Agreed in general. This however requires an extension providing an .icns photo
> handler for Tk. Like we have img::ico for Windows .ico images. I have not seen
> any such support yet.
I don't think it really *requires* it (though I'm sure it .icns handling
would be nice). It just means you do a:
file copy $userfile Appname.app/Contents/Resources
At the end of the application bundle creation process. Then a one-line
entry in Appname.app/Contents/Info.plist so the OS knows which icns file
to show.
Tclapp doesn't really need to know anything about the file format of the
icon at any stage. If the user really needs access to the images
contained in the .icns format, they can probably get away with just
including the PNG format images they originally used to create the icon
with in Icon Composer :-).
Thread:
peterc+activestate
Jeff Hobbs
Peter Caffin
Peter Caffin
Peter Caffin
Peter Caffin
Peter Caffin
jeffh
peterc+activestate
jeffh
peterc+activestate
Jeff Hobbs
Peter Caffin
Jeff Hobbs
Peter Caffin
Andreas Kupries
Peter Caffin
Andreas Kupries
Peter Caffin
Jeff Hobbs
|