Monday, August 6, 2012

Tkinter Text Search Demo

This code is based on the Tcl search.tcl demo; it demonstrates Text.search() and the use of style tags to highlight search results.

Friday, August 3, 2012

Tkinter Text Styles Demo

This code is based on the Tcl style.tcl demo; includes examples of ten styles that can be applied to text in a Text widget.


Tkinter Basic Text Demo

This code is based on the Tcl text.tcl demo; a simple, scrollable text widget is displayed.


Tkinter Entry Form Demo

This code is based on the Tcl form.tcl demo. An example of laying out a simple, rolodex type form.


Tkinter Combobox Demo

This code is based on the Tcl combo.tcl demo.

Thursday, August 2, 2012

Tkinter Spinbox Demo

This code is based on the Tcl spin.tcl demo. Note that while there is a ttk:spinbox widget it has not been implemented in the tkinter.ttk module; the tkinter.spinbox is used instead.

Tkinter Entry with Validation Demo

This code is based on the Tcl entry3.tcl demo. It includes four example entry fields that use  valid, validatecommand, and invalidcommand and/or bind to capture and check user input.