Alexander Wagner, środa, 21 maja 2008:
> > BTW. Is Tcl already part of Linux distributions? I use
> > Gentoo and it is there, though not enabled by default.
>Of course. Its availabe since years, and actually, in a
>decent package managing system installing a tool that
>requires them will just add Tcl/Tk by means of requirements.
>I think gentoo handles this that way as well. Ie. if you
>"emerge ding" (or even "emerge scid") your emerge should
>alos emerge Tcl and Tk.
My silly mistake. I wanted to ask if Tcl 8.5 is already in distributions, not
Tcl itself.
>One could consider of course to use wrapper functions for
>the widgets in quesion. Something like
>
> Scid::Scrollbar {} {
> if tk > 8.4 {
> use_new_widget
> } else {
> use_old_widget
> }
> }
>
>And then replace all occurances of the scrollbar call by
>Scid::Scrollbar. This would enable a smooth migration and
>probably the best way to go. This could happily live in a
>new file like scidGUIfunc.tcl or whatever.
That was my idea to do it. It won't be that trivial as some parameters are not
available in new themed widgets, but maybe it can be done that way.
--
Michal Rudolf
-------------------------------------------------------------------------
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/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users