Purpose: to discuss the package library known as '''tklib''' ---- '''Overview''' Tklib is like [Tcllib], a collection of many small packages providing utilities, except that packages here are expected to depend on [Tk]. Tklib specializes in utilities for GUI programming. ---- '''Tklib Location''': Tklib is a part of the [tcllib] project, its homepage is http://tcllib.sourceforge.net/. You may browse CVS at http://tcllib.cvs.sourceforge.net/tcllib/tklib/, or download the entire package at http://sourceforge.net/project/showfiles.php?group_id=12883&package_id=168684 [Tklib Installation]: How to install and then use tklib. [Tklib Contribution & Feedback]: How to contribute to tklib, report errors, etc. [Tklib Contents]: List of all the packages found in tklib. ---- ---- Previous discussions on this page: The other thing needed is a person interested enough in seeing more [Tk] [megawidget]s being commonly available that the work necessary to integrate the code into tk begins. So far, lots of words, but no action. ---- [NEM] I am currently working on a [CSS] parser, which will then lead on to work to create CSS megawidgets based around the text widget and the canvas (which is more work, and so much longer term). The CSS parser is pure Tcl, should be finished some time in the next month (it probably has about 2 days more work left + testing, but finding the time...), and I will be submitting it for inclusion in [tcllib] when finished. The megawidgets will probably be written using [snit], and might find their way in to [tklib] at some point. Combined with [tdom] or [TclXML] these might make a decent alternative to [tkhtml] with support for more recent (XML-based) web standards. Much work to do though. ---- Oh, NEM reminded me of something . If you check out tcllib's [snit], you will find a framework for creating megawidgets. I don't know whether there are any megawidgets actually in there, but certainly people are using the snit code to build them. ---- [LV] there are certainly examples here on the wiki of snit widgets. Perhaps the authors would consider working with the tklib maintainers to have them incorporated into tklib? ---- [JMN] 2006-10-12 There's a serious vertical scrolling problem with Tablelist 4.4 & 4.5, at least when using Tk 8.5a4/8.5a5 on windows. If you grab the slider and bring it to the bottom and release your mouse button, the slider does a little 'dance' in the scrollbar trough.. jumping up and down a couple of times before settling a little bit above the bottom. During this dance the tablelist area warps and refreshes while trying to keep up. If you try to drag the slider to the bottom but don't release the mouse button - the problem is even worse. You get a continous mad jumping back and forth of the slider up and down by half a line-height or so. This effect can be seen on the embeddedWindows.tcl demo included in the tablelist demos, but is not related to embedded windows. A simple table with textual entries seems to exhibit the problem. I haven't yet filed a bug report. Will do when I get a chance to isolate a minimal demo script, and test on other platforms. In the meantime - for me Tablelist 4.3 gives superior feel & performance for scrolling than the later versions. ---- [Category Package] | [Category GUI] | [Category Widget] | [Category tklib]