> > it appears that pure-perl pTk widgets support in Tcl::Tk is > > quite possible, when trying Tix megawidgets, like in perlTk. > > This is one of those things that really argues for a Tcl::pTk > for all the Perl/Tk compatability stuff. I don't care if it > itself requires Tcl::Tk, but there is only so much you want to > muddle a cleaner implementation with.
[Tcl::Tk] minus [perl/Tk compatibility stuff] equals to [Tkx], isn't it? Or otherwise, if all compatibility moved outside, what will be in Tcl::Tk? > > > required: > > - Tix > > - pTk.pm file at http://vkonovalov.ru/tcltk-misc/pTk.pm.html > > - patch below > > I for one disapprove of any further use of Tix, as it is quite > outdated, but if that's what the Perl/Tk folks rely on, then > let them use it when they have the right configuration. very true; I have problem building Tix on Linux. Yet, it do not fit into perl/Tk cleanly, because it was reworked in perl/Tk. > > You mentioned snit::widget support in another message. This > is a much cleaner way to construct megawidgets. FWIW, there > will likely (finally) be a blessed OO package for Tcl 8.5, > which would mean a consistent OO megawidget framework as well. I'll look at snit from this perspective, and, if it will be standard in Tcl, let us bless it for Tcl::Tk also... Among others megawidgets, "unblessed" mkWidgets package allows pure-perl widgets, see example at the bottom of http://mini.net/tcl/13208 I do not intend relying on mkWidgets very much, but it was amazing to see how easy creating megawidgets was, and that did not required any extra coding in Tcl::Tk. Best regards, Vadim.