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.
Showing posts with label Tkinter Windows. Show all posts
Showing posts with label Tkinter Windows. Show all posts
Saturday, August 18, 2012
Tkinter Horizontal Paned Window Demo
This code is based on the Tcl paned1.tcl demo; uses ttk.PanedWindow rather than the tkinter PanedWindow.
Labels:
Tkinter Demos,
Tkinter Windows
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.
Labels:
Tkinter Demos,
Tkinter Windows
Subscribe to:
Posts (Atom)