|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
OS X: CFBundleIconFile and new interpretersHi,
I see that the CFBundleIconFile in OS X tcl applications will appear in standard dialogs, which looks great. However, part of my app runs in a new interpreter and there the icon does not show up. Does anyone know a way around? Thanks, Lasse -- Lasse Bombien Institut für Phonetik und Sprachverarbeitung Schellingstraße 3/II D-80799 München email: lasse@... web: http://www.phonetik.uni-muenchen.de/~lasse phone: +49 (0) 89 2180 2812 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: OS X: CFBundleIconFile and new interpretersLasse Bombien wrote:
> Hi, > > I see that the CFBundleIconFile in OS X tcl applications will appear in > standard dialogs, which looks great. However, part of my app runs in a > new interpreter and there the icon does not show up. Does anyone know a > way around? > > Thanks, > > Lasse When you open a new interpreter, does any icon appear in the Dock? i.e. a generic "Wish" icon? Or does the app just open up a new toplevel window for the child interpreter? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: OS X: CFBundleIconFile and new interpretersHi Kevin,
thanks for your answer. Your questions triggered some experimenting... in tk_messageBox, an icon only appears if you ask for one (of course). That's what I always do, but my colleague appearently not. So it wasn't about interpreters after all. Sorry for bothering you, Lasse Am Mittwoch, den 14.05.2008, 10:15 -0400 schrieb Kevin Walzer: > Lasse Bombien wrote: > > Hi, > > > > I see that the CFBundleIconFile in OS X tcl applications will appear in > > standard dialogs, which looks great. However, part of my app runs in a > > new interpreter and there the icon does not show up. Does anyone know a > > way around? > > > > Thanks, > > > > Lasse > > When you open a new interpreter, does any icon appear in the Dock? i.e. > a generic "Wish" icon? Or does the app just open up a new toplevel > window for the child interpreter? > Lasse Bombien Institut für Phonetik und Sprachverarbeitung Schellingstraße 3/II D-80799 München email: lasse@... web: http://www.phonetik.uni-muenchen.de/~lasse phone: +49 (0) 89 2180 2812 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: OS X: CFBundleIconFile and new interpretersI must correct myself:
In the docs it says: If this option is not specified, then the info icon will be displayed. What I get is: -icon error | -icon info: CFBundleIconFile -icon question | -icon warning: big exclamation mark and small CFBundleIconFile not specified: no icon That's quite different from what I get on Linux and Windows Lasse Am Mittwoch, den 14.05.2008, 17:04 +0200 schrieb Lasse Bombien: > Hi Kevin,thanks for your answer. > Your questions triggered some experimenting...in tk_messageBox, an icon only appears if you ask for one (of course).That's what I always do, but my colleague appearently not. > So it wasn't about interpreters after all. > Sorry for bothering you, > Lasse > Am Mittwoch, den 14.05.2008, 10:15 -0400 schrieb Kevin Walzer:> Lasse Bombien wrote:> > Hi, > > > > I see that the CFBundleIconFile in OS X tcl applications will appear in> > standard dialogs, which looks great. However, part of my app runs in a> > new interpreter and there the icon does not show up. Does anyone know a> > way around? > > > > Thanks, > > > > Lasse> > When you open a new interpreter, does any icon appear in the Dock? i.e. > a generic "Wish" icon? Or does the app just open up a new toplevel > window for the child interpreter?> -- Lasse BombienInstitut für Phonetik und SprachverarbeitungSchellingstraße 3/IID-80799 München > email: lasse@...: http://www.phonetik.uni-muenchen.de/~lassephone: +49 (0) 89 2180 2812 > > > -------------------------------------------------------------------------This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________Tcl-mac mailing listtcl-mac@...://lists.sourceforge.net/lists/listinfo/tcl-mac > Lasse Bombien Institut für Phonetik und Sprachverarbeitung Schellingstraße 3/II D-80799 München email: lasse@... web: http://www.phonetik.uni-muenchen.de/~lasse phone: +49 (0) 89 2180 2812 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: OS X: CFBundleIconFile and new interpretersLasse Bombien wrote:
> I must correct myself: > > In the docs it says: If this option is not specified, then the info icon > will be displayed. > > What I get is: > -icon error | -icon info: CFBundleIconFile > -icon question | -icon warning: big exclamation mark and small > CFBundleIconFile > not specified: no icon > > That's quite different from what I get on Linux and Windows > > Lasse > I'm somewhat lost here. If you don't specify an icon on OS X, you get the application icon, which is specified in CFBundleIconFile: this is what the "info" icon defaults to under Aqua. Again, I need to understand how the child interpreter is being deployed. Does it launch a second instance of Wish.app (the Wish interpreter) or does it simply launch a new toplevel window in the existing application? For an application icon to properly display on the Mac, it has to be launched from an application bundle. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
|
|
|
Re: OS X: CFBundleIconFile and new interpretersAm Mittwoch, den 14.05.2008, 13:24 -0400 schrieb Kevin Walzer: > Lasse Bombien wrote: > > Sorry for being unclear. > > > > There is *no* problem with child interpreters, as I thought first. > > Instead I'm wondering about something else, now. > > > > Th CFBundleIcon shows, when I specify "-icon info" or "-icon error". It > > also shows (with a hugh exclamation mark) for "-icon warning" and "-icon > > question" (!?). > > > > However, it *no icon* shows when I don't specify this option. But it > > should, doesn't it? > > > > Lasse > > Responding to the lst as well so the solution can be shared... > > Ah, I see. This code produces an icon: > > tk_messageBox -icon info -message "Test!" > > This code does not: > > tk_messageBox -message "Test!" > > Not sure if this is a bug or not. It seem to me the solution is, specify > your icon! That's what I did now, just wanted to point out there is no default icon even if the docs say so. Thanks, Lasse > > -- Lasse Bombien Institut für Phonetik und Sprachverarbeitung Schellingstraße 3/II D-80799 München email: lasse@... web: http://www.phonetik.uni-muenchen.de/~lasse phone: +49 (0) 89 2180 2812 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: OS X: CFBundleIconFile and new interpreters>> Not sure if this is a bug or not. It seem to me the solution is,
>> specify >> your icon! > > That's what I did now, just wanted to point out there is no default > icon > even if the docs say so. There's a bug in the SF tktoolkit project on this - #1881903 Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
| Free Forum Powered by Nabble | Forum Help |