A gtk.SpinButton is an ideal way to allow the user to set the value of some attribute. Rather than having to directly type a number into a gtk.Entry, GtkSpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the bonus that it can be checked to ensure it is in a given range.
Undocumented in source.