Hi again,There was this one I used years (decades) ago, but I eventually found that I could create mega-widgets (using snit) faster and much more to my liking, just using a text editor. The downside of the GUI builder I used was that while I could build a reasonably GUI, I still had to code in all of the "action" code. And there was all sorts of "global" variable and naming issues (since everything was in the global name space, etc. With SNIT I could do things like create re-usable megawidgets, keep all of the "local" action code inside the "class" name space (not exactly private, but contained within a namespace and scope).
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
Thanks!
Bob L.
At Tue, 28 Jul 2026 23:06:17 GMT Bob Liesenfeld <user21406@newsgrouper.org.invalid> wrote:
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
There was this one I used years (decades) ago, but I eventually found that I could create mega-widgets (using snit) faster and much more to my liking, just
using a text editor. The downside of the GUI builder I used was that while I could build a reasonably GUI, I still had to code in all of the "action" code.
And there was all sorts of "global" variable and naming issues (since everything was in the global name space, etc. With SNIT I could do things like
create re-usable megawidgets, keep all of the "local" action code inside the "class" name space (not exactly private, but contained within a namespace and scope).
I have never really liked GUI IDEs or anything like that, They tend to be too constrained, unnecessarily complicated, always missing some functionality (or the functionality was hard to find -- eg hiding is some random menu or hiding as some silly icon that I don't know what it means -- I am fluent in *English*, not some bastardisation of ancient Egyptian), insisted on unnecissiarly
colorful syntax highlighting, and I really don't need or want random coding "suggestions" thrown at me.
Thanks!
Bob L.
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
At Tue, 28 Jul 2026 23:06:17 GMT Bob Liesenfeld <user21406@newsgrouper.org.invalid> wrote:
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
There was this one I used years (decades) ago, but I eventually found that I could create mega-widgets (using snit) faster and much more to my liking, just
using a text editor. The downside of the GUI builder I used was that while I could build a reasonably GUI, I still had to code in all of the "action" code.
And there was all sorts of "global" variable and naming issues (since everything was in the global name space, etc. With SNIT I could do things like
create re-usable megawidgets, keep all of the "local" action code inside the "class" name space (not exactly private, but contained within a namespace and scope).
I have never really liked GUI IDEs or anything like that, They tend to be too constrained, unnecessarily complicated, always missing some functionality (or the functionality was hard to find -- eg hiding is some random menu or hiding as some silly icon that I don't know what it means -- I am fluent in *English*, not some bastardisation of ancient Egyptian), insisted on unnecissiarly
colorful syntax highlighting, and I really don't need or want random coding "suggestions" thrown at me.
Thanks!
Bob L.
--Robert,
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
I was hoping maybe things had changed a bit from 30 years ago, but maybe not.
On 7/28/2026 6:31 PM, Bob Liesenfeld wrote:
I was hoping maybe things had changed a bit from 30 years ago, but maybe not.
Hi Bob.
I used to use visual tcl back in the day. I found it quite quirky. Today, if you read any of my posts, you'll likely know what I'm going to suggest.
If I wanted to build a kind of complex gui, I'd draw a sketch on paper, label things, take a quick snapshot, and you guessed it, paste the picture into Claude (or your favorite AI). Then say, I want a tcl/tk gui program that will look like this.
Sometimes it's easier in words, like, give me a 4x4 matrix of sliders, and use labels for the assoc vars, xray01 to xray16 or some such. put them in a grid.
Or perhaps it's a window with tabs. Ask what package or command he knows best.
Yes, things have changed in 30 years.
-E
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
Thanks!
Bob L.
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
Thanks!
Bob L.
On 29/07/2026 00:06, Bob Liesenfeld wrote:GUI builders are probably more useful (necessary?) with *compiled* languages (C. C++. Java, etc.) because of the time and "code completeness" issues a compiled language requires. With Tcl/Tk, one can create a GUI literally interactively (eg just by firing up wish from the command line and just starting to type in widget creation function) and can lay out the complete GUI without any underlying "action" code. You can't do anything like that in any other system.
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
Thanks!
Bob L.
Like many others, I don't use a GUI builder. Full disclosure - I've
never tried one.
When I was starting up with Tcl/Tk, I really struggled with menus, so I defined an App class, using snit, that took a set of Menu name/Menu
entry pairs and built me a toplevel widget with a menubar providing the
menus and entries that I passed in. When the user selects one of the
entries, a proc with a predefined name (on<Menu name><Menu entry>) is
called. Then I added a few "standard" menu names and entries and after a while it became so ingrained that I can't do anything without requiring
my App package.
The other thing I got bored with was setting things up using the [grid] geometry manager, so my App class provides a mechanism that accepts a
list of "items" and lays them out in a grid.
After a few years I made a TclOO class to wrap App and add a little
extra functionality.
Literally 19 years later there are many things about this framework that
I wish I'd done differently but I have Lord knows how many tens of KLOC
that use it, and I can't half develop a reasonable GUI with a standard look-and-feel quickly.
To my mind, the key is reusability.
Good luck and happy GUI coding.
Alan
At Wed, 29 Jul 2026 19:03:06 +0100 Alan Grunwald <nospam.nurdglaw@gmail.com> wrote:
On 29/07/2026 00:06, Bob Liesenfeld wrote:
Hi again,
Still working on getting back up to speed with tcl. I have been looking around
for a GUI builder that works well with tcl\tk. I have found some that I used years ago
(Visual Tcl, GUIBuilder) etc. but am still looking for one that makes sense to me.
Any suggestions?
Thanks!
Bob L.
Like many others, I don't use a GUI builder. Full disclosure - I've
never tried one.
GUI builders are probably more useful (necessary?) with *compiled* languages (C. C++. Java, etc.) because of the time and "code completeness" issues a compiled language requires. With Tcl/Tk, one can create a GUI literally interactively (eg just by firing up wish from the command line and just starting to type in widget creation function) and can lay out the complete GUI
without any underlying "action" code. You can't do anything like that in any other system.
When I was starting up with Tcl/Tk, I really struggled with menus, so I defined an App class, using snit, that took a set of Menu name/Menu
entry pairs and built me a toplevel widget with a menubar providing the menus and entries that I passed in. When the user selects one of the entries, a proc with a predefined name (on<Menu name><Menu entry>) is called. Then I added a few "standard" menu names and entries and after a while it became so ingrained that I can't do anything without requiring
my App package.
Yeah, I don't something similar and have developed a pile of classes and templates/frameworks for Tcl/Tk applications.
The other thing I got bored with was setting things up using the [grid] geometry manager, so my App class provides a mechanism that accepts a
list of "items" and lays them out in a grid.
After a few years I made a TclOO class to wrap App and add a little
extra functionality.
Literally 19 years later there are many things about this framework that
I wish I'd done differently but I have Lord knows how many tens of KLOC that use it, and I can't half develop a reasonable GUI with a standard look-and-feel quickly.
To my mind, the key is reusability.
Good luck and happy GUI coding.
Alan
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 74 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 53:36:52 |
| Calls: | 1,101 |
| Calls today: | 1 |
| Files: | 1,339 |
| Messages: | 276,196 |