Posted to tcl by Stu at Wed Aug 02 01:56:08 GMT 2023view raw
- Here's a test of any GUI development method.
- Start with something simple: three buttons in a frame, laid-out horizontally.
- Then perform the following steps, one at a time:
- - Add another row containing two buttons, with all their attributes and events/commands.
- - Lay out all the buttons vertically.
- - Lay out only the first two vertically, with the rest laid-out horizontally.
- - Lay out the buttons in groups of two, horizontally.
- - Change all the texts of the buttons.
- - Remove two buttons.
- - Make the layout completely horizontal.
- - Change the text of half of the buttons.
- - Remove another button.
- - Change the event/commands of the remaining two buttons.
- - Add back one of the original buttons that was removed in a prior step.
- If this becomes a tedious slog then I'd argue that the chosen GUI development method is poor.