Examples using Tcl/TK
Code is written in the tcl scripting language
There are classes of widgets
- button, listbox, checkbox, menu, etc
Each widget takes attribute/value pairs
- text, label, color, command, borderwidth, etc
Each widget has a name
- nesting is indicated with “.”
- must start with a top-level window
- the defaut root is called “.”
Frames are used to group widgets together