[Pkg-tcltk-devel] How to use themed widgets and tclreadline in tk8.5
Sergei Golovan
sgolovan at nes.ru
Tue May 6 17:50:26 UTC 2008
On 5/6/08, Jaime Villate <villate at fe.up.pt> wrote:
> Hi,
> I'm the maintainer of Xmaxima. Many Maxima users avoid Xmaxima because
> they don't like its looks. I'm very glad to see that the fonts look much
> nicer with tk8.5. I will next like to introduce better-looking widgets
> such as the ones in the www.tkdocs.com tutorial.
>
> In order to use themed widgets with tk8.5, I've found that I had to
> install package tk-tile. But when I use "package require tile", it only
> works with tk8.4.
Themed widgets are available in Tk 8.5 without tk-tile. They are in
ttk namespace. See man ttk_*. For backward compatibility [package
require tile] works in 8.5 (and does nothing if I remember correctly).
I described Tcl 8.5.2 from current unstable. I don't know which
version is in Ubuntu now.
>
> The other thing is that tclreadline works in wish8.4 but not in wish8.5.
> I'm using Ubuntu 8.04 right now, but I also have several machines
> running Debian which I could use.
I cannot reproduce this. tclreadline works for me with all three Tcl
versions (8.3, 8.4 and 8.5). Though I never used Ubuntu and cannot say
what's wrong with it (except that Tcl/Tk packages aren't payed any
significant attention).
--
Sergei Golovan
More information about the Pkg-tcltk-devel
mailing list