This code is based on the Tcl floor.tcl demo which is a demonstration of the floorplan for DEC's Western Research Laboratory. The user can click on a floor to bring it to the front, mouse over a room to see it highlighted or enter a floor number in the textbook to have it highlighted.
Py In My Eye
Python 3, Tkinter, PyQt4, snippets, etc.
Sunday, September 2, 2012
Friday, August 31, 2012
Tkinter Built-in Bitmap Demo
This code is based on the Tcl bitmap.tcl demo. The demo displays the built-in bitmaps available on all systems; a number of other are available for Macs.
Labels:
Tkinter Demos,
Tkinter Misc Examples
Tkinter Pendulum Demo
This code is based on the Tcl pendulum.tcl demo. It presents a simple, rotational, pendulum; sets it in motion and draws the pendulum's phase space. The user can change the position of the pendulum by clicking in the Pendulum Simulation panel.
Labels:
Tkinter Animation,
Tkinter Canvas,
Tkinter Demos
Wednesday, August 29, 2012
Tkinter Animated Wave Demo
This code is based on the Tcl aniwave.tcl demo. A wave frequency line is drawn and animated, moving the frequency peak from right to left and back along the line.
Labels:
Tkinter Animation,
Tkinter Canvas,
Tkinter Demos
Monday, August 27, 2012
Tkinter Animated Labels Demo
This code is based on the Tcl anilabel.tcl demo. It displays three labels with scrolling text and an animated GIF which is animated by rotating through it's animation frames.
Labels:
Tkinter Animation,
Tkinter Demos,
Tkinter Label
Sunday, August 26, 2012
Tkinter Color Picker Demo
This code is based on the Tcl clrpick.tcl demo.
Clicking on one of the buttons pops up the native color picker dialog, which, in Windows is
Once a color is chosen either the background or foreground color of the widgets are changed.
Note that the background Style option for ttk.Button, in Windows, only changes the buttons highlight area and not the entire button background.
Clicking on one of the buttons pops up the native color picker dialog, which, in Windows is
Once a color is chosen either the background or foreground color of the widgets are changed.
Note that the background Style option for ttk.Button, in Windows, only changes the buttons highlight area and not the entire button background.
Labels:
Tkinter Color Picker,
Tkinter Demos
Saturday, August 25, 2012
Subscribe to:
Posts (Atom)