Widget Commands



Tcl command for each widget, named after widget.
Widget command is deleted when widget is destroyed.
Principle: all state should be readable, modifiable, anytime.
button .a.b .a.b configure -relief sunken .a.b flush scrollbar .x .x set 0.2 0.7 .x get
Used to reconfigure, manipulate widget:

Previous slide Next slide Back to the index View Graphic Version

Notes:

No notes for slide 23