Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets



Is it possible to have a single Gtk.Adjustment for several Gtk.SpinButton
widgets? I couldn't understand if the adjustment is only used by SpinButton
to know the range (and some additional details, such as the page size), or
the adjustment is used also for the value storage place.

I tried to create two SpinButtons and to set a single adjustment, but it
seems to me changing the value of a SpinButton will change the value of the
other SpinButton too. So it seems it isn't possible to share one adjustment
among several widgets.

Of course, I'm supponsing the case of several parameters that have
different values but the same range properties (min, max, page step, ...)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]