One of the more tedious aspects of GUI development is keeping the UI in sync with the state of the application enabling and disabling widgets depending on the current context. For example, if the focus is on a read-only widget you should disable the paste button, once data has been entered you need to enable the File->Save menu item, etc.

Over the years I’ve learned that this can be a maintenance nightmare. For example, your application may start out with just a File->Save menu. Later you add a toolbar and right-click menu. Then you add keyboard accelerators. Each time you do this you have to find the places in your code where you disable the File->Save menu item and add code to disable all the other widgets and menu items.


Welcome to tclscripting.com!

For now, consider this site alpha quality at best. I haven’t managed a real website in years; my CSS and HTML skills are pretty rusty and I’ve never done a blog or dealt with RSS before.

I’m also learning a new tool (RapidWeaver, by Realmac Software) that has its own share of quirks. Expect a few bumps in the road while I work the kinks out, and don’t assume that links to any particular page will work in the future. Eventually that will change, but for now expect the whole site to be subject to change.