On 30-03-2019 13:36, number wrote:

On Fri, 29 Mar 2019 20:14:02 +0100, Mike Wey wrote:

You can use the OnKeyPress event to change the way the buttons are handled.

Thank you for the response.

the docs say the value will be clamped automatically, but using min/max looks cleaner.

I missed the setValue for the gtk.Range, the setValue function for
gtk.Ajustment doesn't clamp the value.