My personal crusade against gtk+3 SpinCtrl's size

In my continuing crusade against the monstrous Gtk+3 SpinCtrl / SpinButton and SpinCtrlDouble, I am attaching my replacement code.
Namely:

minispinctrl.py

minispinfloat.py

minispinbutton.py

minispinctrl

minispinctrl.png

minifloatspin

minifloatspin.png

minispinbutton with a textctrl

minispinbutton_with_textctrl.png

They all attempt to emulate under Gtk3 the look and feel that the originals under Gtk2 had.

They, of course, work under Gtk2 as well.

Hopefully someone else will find them useful.

Feel free to report any/all bugs

Regards

Rolf

minifloatspin.py (24.1 KB)

minispinctrl.py (21.7 KB)

minispinbutton.py (15.4 KB)

1 Like

Hi Rolf - I really like your GTK spinners but am designing for a 7" touchscreen. So spins and sliders too are way too small for fingertip operation. My workarounds look clumsy. If anyone is addressing problems like this, I would really like to know. Thanks, Graham.