snot

Artifact [4ac8518edf]
Login

Artifact 4ac8518edf7e0159099d176edd5580b7620f8a30:

Wiki page [snot] by aspect 2018-05-19 16:03:40.
D 2018-05-19T16:03:40.488
L snot
N text/x-markdown
P 0169eea67ee8125982580e4d8b09fab7e119acde
U aspect
W 1298
## snot:  it looks quite a bit like snit, but it's not

The highlight here is `modules/snot-0.tm`:  a TclOO megawidget framework inspired by [snit](http://wiki.tcl.tk/3963) in less than a thousand lines of code.

A couple of megawidget examples are provided as well:  `modules/easywin-0.tm` is a port [from the wiki](https://wiki.tcl.tk/20619), other widgets in `modules/snots/` are also shamelessly adapted from snit widgets in the wiki or in [tklib](http://core.tcl.tk/tklib/).

Some utility code lives in `modules/fun/` which is used by snot but quite general in nature.

**Tksh** also lives here:  a [Tkcon](https://wiki.tcl.tk/1878)-like console, but less crufty, written using snot.  You can run tksh directly from a checkout:

> `./bin/tksh`


Snot needs your feedback.  The goal is to cover megawidget creation as well as snit, but in a pure TclOO environment where you don't have to remember whether to `[self]` or `$self` (and so on).  Some incompatibility with snit is to be expected, but porting should be easy and features you need should work properly.  Implementing snit's full type system is out of scope.

If you see anything missing, wrong or just unpleasant, please open a ticket.  If you find yourself fixing or extending snot, please submit a patch.

Enjoy :).
Z 4f09d930e59c441ad9e24d1c3798abe1