Showing posts with label Tkinter Windows. Show all posts
Showing posts with label Tkinter Windows. Show all posts

Saturday, August 18, 2012

Tkinter Nested Paned Windows Demo

This code is based on the Tcl ttkpane.tcl demo. A number of nested paned windows are created to which widgets are added. Draggable sashes exist between each of the nested panes i.e. between the Button and Clocks, Progress and Text and between the two panes holding the foregoing. The code makes use of the Tcl/Tk clock command to update the clock labels every 1000ms.

Tkinter Vertical Paned Window Demo

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


Tkinter Horizontal Paned Window Demo

This code is based on the Tcl paned1.tcl demo; uses ttk.PanedWindow rather than the tkinter PanedWindow.



Wednesday, July 25, 2012

Tkinter Labelframe Demo

This code is based on the Tcl labelframe.tcl demo. There's very little you can configure on a ttk.Labelframe (border, relief, etc. aren't available). You can; however, re-position the frame title text using combinations of N, S, E, W or you can use an entirely separate widget via the labelwidget option.