Version 78 of tklib

Updated 2008-10-15 16:13:06 by LV

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