Tkinter Wiki   Widgets/Spinbox UserPreferences
 
HelpContents FindPage Diffs Info Edit Subscribe XML Print View Up

1. Tkinter.Spinbox - create and manipulate Spinbox widgets

A spinbox is an extended entry widget that allows the user to move, or spin, through a fixed set of ascending or descending values such as times or dates

2. Base Classes

?../Widget, ?../BaseWidget, ?../Pack, ?../Place, ?../Grid, ?../Misc

3. Gotchas

4. Example

  1 
  2 
  3 
  4 
  5 
  6 
  7 
from Tkinter import *
root = Tk()

spin = Spinbox(root, from_ = 0, to = 100)
spin.pack()

root.mainloop()

5. Screen Shot

spinbox.png

6. References

[WWW]http://effbot.org/tkinterbook/spinbox.htm

[WWW]http://wiki.tcl.tk/spinbox

[WWW]http://www.purl.org/tcl/home/man/tcl8.4/TkCmd/spinbox.htm

PythonPowered