Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets
- From: Pozz Pozz <pozzugno gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets
- Date: Mon, 14 Nov 2016 16:36:21 +0100
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]