GIMP3/Python3 Sliders instead of spinners? (original) (raw)

JimDee2 (Jim Denney) February 26, 2025, 2:55pm 2

Hi
Both the ScaleEntry and the SpinScale widgets have slider functions and they also have +/- adjustment. But they are not the default widget for entering values so they have to be specified when you create the dialog

For example
dialog.get_widget(“parametername”, GimpUi.SpinScale.gtype)

The gtype has two underscores each side which makes it look bold here! Anyway that is how you do it in Python. Hope that helps

JimDee2