Re: Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets
- From: Damien Caliste <damien caliste cea fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: Sharing Gtk.Adjustment objects among several Gtk.SpinButton widgets
- Date: Tue, 15 Nov 2016 12:18:52 +0100
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]