For Programmers: Free Programming Magazines  


Home > Archive > Tcl > July 2005 > Re: ANNOUNCE: TkTreeCtrl 2.1 OS X ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: ANNOUNCE: TkTreeCtrl 2.1 OS X ?
John Droggitis

2005-07-26, 5:03 pm

I distribute an application on linux and macos X that uses tktreectrl.
I don't develop it on a mac so I don't have first hand experience, but
I've seen screenshots that users sent back and it looks great. I'm
wrapping it with the tclkit that comes with aqua tcl/tk BI 8.4.10. I
have heard the comment that the tree looks window-ish on the mac...

Kevin Walzer

2005-07-26, 5:03 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Droggitis wrote:
| I distribute an application on linux and macos X that uses tktreectrl.
| I don't develop it on a mac so I don't have first hand experience, but
| I've seen screenshots that users sent back and it looks great. I'm
| wrapping it with the tclkit that comes with aqua tcl/tk BI 8.4.10. I
| have heard the comment that the tree looks window-ish on the mac...
|
The folder icons have a very definite "Windows" appearance, yes. No way
around that except to substitute the icons with something more Maclike,
either the Mac folder icon itself (possible copyright issues however) or
a lookalike (there are some versions on Linux IIRC).

Some recent development work/patches by other Tk-Aqua developers on
Tktreectrl have helped improve its Mac appearance quite a bit, however.
It is a very nice-looking widget overall.

I just got done building Tktreectrl on OS X, and it's a bit stubborn: it
is harder to build than, say, Tile. But here are the steps I followed in
case anyone is interested:

1. applied Daniel Steffen's Mac-specific patch from the 8.4.10 sources
to update tcl.m4 (see http://tcltkaqua.sourceforge.net)
2. Ran configure with the standard flags:
~ ./configure \
~ --prefix=/usr/local --libdir=/Library/Tcl \
~ --with-tcl=/Library/Frameworks/Tcl.framework \
~ --with-tclinclude=/Library/Frameworks/Tcl.framework \
~ --with-tk=/Library/Frameworks/Tk.framework \
~ --with-tkinclude=/Library/Frameworks/Tk.framework/\
~ --enable-threads

3. Edited the makefile to point to my Tcl & Tk source directories.


- --
Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.kevin-walzer.com
http://www.smallbizmac.com.
mailto:sw@wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5qASJmdQs+6YVcoRAl2ZAKCLS5cssqh+
437HtrKqQZYMZGJL5QCggBEF
YxYCIGK6yTg/L5Jz+Y+6tLA=
=FCrO
-----END PGP SIGNATURE-----
Bugs

2005-07-26, 10:05 pm

Kevin Walzer wrote:
> The folder icons have a very definite "Windows" appearance, yes. No way
> around that except to substitute the icons with something more Maclike,
> either the Mac folder icon itself (possible copyright issues however) or
> a lookalike (there are some versions on Linux IIRC).
>
> Some recent development work/patches by other Tk-Aqua developers on
> Tktreectrl have helped improve its Mac appearance quite a bit, however.
> It is a very nice-looking widget overall.
>

Thanks Kevin. How about the TkTreectrl column headers, how do they
look? Do they have that OSX Aqua look?
Kevin Walzer

2005-07-27, 9:04 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bugs wrote:
| Kevin Walzer wrote:
|
|> The folder icons have a very definite "Windows" appearance, yes. No way
|> around that except to substitute the icons with something more Maclike,
|> either the Mac folder icon itself (possible copyright issues however) or
|> a lookalike (there are some versions on Linux IIRC).
|>
|> Some recent development work/patches by other Tk-Aqua developers on
|> Tktreectrl have helped improve its Mac appearance quite a bit, however.
|> It is a very nice-looking widget overall.
|>
| Thanks Kevin. How about the TkTreectrl column headers, how do they
| look? Do they have that OSX Aqua look?

Yes they do! That's one area where a lot of effort has been invested,
and I'm looking forward to using it in my applications. :-)

- --
Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.kevin-walzer.com
http://www.smallbizmac.com.
mailto:sw@wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55rsJmdQs+6YVcoRAgOpAJ91jMUnSLHj
gCFqoxyVIiU9tSVrgACfXIRo
Om4c4P8ZKtkPmTwnqT5G6zY=
=oNGF
-----END PGP SIGNATURE-----
Bugs

2005-07-27, 5:06 pm

Kevin Walzer wrote:
> | Thanks Kevin. How about the TkTreectrl column headers, how do they
> | look? Do they have that OSX Aqua look?
>
> Yes they do! That's one area where a lot of effort has been invested,
> and I'm looking forward to using it in my applications. :-)
>


Excellent! Is that handled by the current TkTreectrl 2.1 code line or
did it require some additional patches on top of that?
Kevin Walzer

2005-07-27, 5:06 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bugs wrote:
| Kevin Walzer wrote:
|
|> | Thanks Kevin. How about the TkTreectrl column headers, how do they
|> | look? Do they have that OSX Aqua look?
|>
|> Yes they do! That's one area where a lot of effort has been invested,
|> and I'm looking forward to using it in my applications. :-)
|>
|
| Excellent! Is that handled by the current TkTreectrl 2.1 code line or
| did it require some additional patches on top of that?

It's on 2.1. Look at the "Explorer (Details") panel in the demo to see
how it works.

- --
Cheers,

Kevin Walzer, PhD
WordTech Software--Open Source Applications and Packages for OS X
http://www.wordtech-software.com
http://www.kevin-walzer.com
http://www.smallbizmac.com.
mailto:sw@wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC59T+JmdQs+6YVcoRArM1AJ91SZydAb98
ntcgTP6yzuwH+yPzPACfabF7
oT4uD+dRW1Xmfd8BaxcSNJM=
=QoBt
-----END PGP SIGNATURE-----
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com