A #GtkSpinButton 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 #GtkEntry, 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.
Fluent builder for gtk.spin_button.SpinButton
Fluent builder implementation template for gtk.spin_button.SpinButton
Module for SpinButton class