4 ms·
Tcl/Tk was a tremendous rapid GUI prototyping tool. I remember cobbling together a Verilog schematic viewer in a couple of weeks using that combination, for the
by pjc50 7y ago
Tcl/Tk was a tremendous rapid GUI prototyping tool. I remember cobbling together a Verilog schematic viewer in a couple of weeks using that combination, for the Series A funding round of the startup I was working at in the early 2000s.
- abhgh 7y agoThis was my reason for foraying into Tcl too. Till then I had used Java's AWT and Swing; but prototyping with Tcl/Tk was way faster and intuitive. Mid-2000s. I ended up liking the language - idiosyncratic as it was. Partly the reason I am curious about and planning to read Ousterhout's (creator of Tcl) book "A Philosophy of software Design" soon.
- senderista 7y agoIt’s a great book (only one reference to Tcl that I recall though). Also Perl/Tk was the first GUI toolkit I used (followed by Glade).
- foobarian 7y agoThe event handler based vector graphics in Tk were unmatched until HTML 5 and the canvas. And then there was the easy and fantastically well documented C extensibility...
- thesz 7y agoTagging system of Tk's canvas is unmatched in HTML. Pity they (HTML designers) never learn. Basically, in Tk, you can add a tag to an element of your drawing in canvas and assign mouse (or keyboard) event handlers to change colors or other attributes on entry and exit of mouse cursor. I made a OO/relational database schema visualization in Tk, it was breese to navigate - once you hover over a relation, you can see classes highlighted; follow highlighted relation to get to them. And once you highlight class of objects you can see to which relations it belongs. It tooks two foreach loops to get that behavior. As far as I know, HTML5 canvas does not support that out of the box.
- comex 7y agoHTML canvas indeed doesn’t support hit detection – although SVG does, and you can embed SVG in HTML.
- _ph_ 7y agoI think it still is. A very easy to use, quite well working cross-platform solution. Since 8.6, the UI has picked up a much more nativel look and feel.