> I don't know Tcl, this was kind of attempt to find how easy/difficult > it is to access Tk/Tcl library through Tcl::Tk and also to find > a workaround when Tk::Text module with Perl 5.8.7 fails to work > (non ascii characters are distorted). > > When I added another chunk of code to my original snippet, I > had to disable > sticky option in the Scrolled method because of Tcl error > 'unknown option > "-sticky" at ...' > Another error was Tcl error 'invalid command name > "ScrollableFrame::ToolBar" > at ...'. > I suppose there is no support for Tk::ToolBar in Tcl::Tk as well.
So, if you'll post here more complete GUI part of your code, I can expand perl/Tk support in Tcl::Tk module to cover your widgets usage. But generally - when writing new programs with Tcl::Tk you will not face this problem, but your widget library will be larger from the very start. > Regarding overriding -scrollbars option I'm not sure if > there's anything > similar in ScrollbarFrame, I'd like to have scrollbars optional. sure they will be supported in next Tcl::Tk version. Vadim.