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

Hi,

This way of migrating to Tk 8.5 is not feasible. The best thing to do would
be a branch of Scid that
will only handle UI stuff (no features), given that Scid 3.6.23+ continues
to evolve using Tcl/Tk 8.4. Then one day a merge can be done and this
merging is completely trivial : I guess a few hours of work, not more.

Note that Tcl/Tk 8.5 does not only bring fancier scrollbars but widgets like
notebook or sizegrip that can benefit to Scid. Most critics to Scid are
related to its UI, so certainly one of the most important field to consider.
I recently changed some of the UI of Scid Pocket, taking advantage of Tcl/Tk
8.5 and the changes makes Scid really nicer and even easier to use.

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