Yes. You can try IupSpin / IupSpinBox for that.

Best,
Scuri


Em ter, 28 de mai de 2019 às 11:01, Johann Philippe <johannphili...@yahoo.fr>
escreveu:

>
> Thanks for the answer.
> I think i'll rather write a homemade spin with two vertical buttons, in my
> project, that's probably the easy way to go if I want to keep GTK3 at the
> same time...
> Le mardi 28 mai 2019 à 15:51:35 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
>   Not that I know of. This was a GTK decision. You can find the
> documentation here:
>
> https://developer.gnome.org/gtk3/stable/GtkSpinButton.html
>
>   I would love to change that. I don't like the spin side by side. It
> seems to have something vertical in the CSS, but I have no idea how to use
> that. If someone figure that out please let me know.
>
>   We use GTK3 where it is most like the default GTK on the system, but you
> may try to force the use of GTK2 when rebuilding IUP, by
> defining USE_GTK2=Yes in your environment.
>
> Best,
> Scuri
>
>
> Em seg, 27 de mai de 2019 às 17:05, Johann Philippe via Iup-users <
> iup-users@lists.sourceforge.net> escreveu:
>
> Hello,
> Recently downloaded the last IUP (also last CD and IM), which work great.
> Just one thing : it seems it made me pass from GTK2 to GTK3 - and the spin
> buttons (from iup text) are now disposed horizontally, instead of
> vertically... So it's now a bit bigger, because with vertical disposition,
> it used to auto fit to the iupText height, but now it's horizontally, it
> takes more horizontal space.
>
> First  : is it possible to change that with iup attributes ?
> Second : if not, wouldn't it be reasonable to find a way to go back to the
> old horizontal style ?
>
> Thanks
> Johann
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to