Tuesday, August 7, 2012

Tkinter ScrolledText Demo

This example is based on the Tcl text.tcl demo; it's the same as Tkinter Basic Text Demo but it uses tkinter.scrolledtext.ScrolledText instead of creating individual text and scrollbars.

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.