Michal Rudolf wrote:
 > 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.

Actually, to my searches is is currently only available in
the very recent Ubnuntus. Debian lists it in "testing",
hence it will be in Lenny, the next stable. 521 bugs to go
for "Lenny GA", therefore it is not entirely out of scope
but from my limited searches it is not really "wide spread"
yet.

 >> 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,

Hm, that could be a problem of course, however if the
wrapper gets the maximum number of parameters or those
unavailable are set to defaults maybe it would work. Don't
know, I'm not that much in that stuff.

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001


-------------------------------------------------------------------------
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

Reply via email to