Re: Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets



Hello,

Le 14/11/2016, Pozz Pozz <pozzugno gmail com> a écrit :
Of course, I'm supponsing the case of several parameters that have
different values but the same range properties (min, max, page
step, ...)
You may implement your use case using bindings. You have a master
GtkAdjusment, or even better a derived GObject with range properties.
Then you can use g_object_bind_property() on every slave GtkAdjusments,
so that their range properties are always in sync.

Damien.


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