Re: Gio.GSettings bind Gtk.ColorButton



Thank you,

so i gather that we can't .bind ColorButton and need to use .connect
and manually set/get values, including defaults?

Cheers
Andre Schmidt


On Sun, Oct 18, 2015 at 5:42 PM, Norman L Smith <nls1729 gmail com> wrote:
Florian,

Thanks, I did not know what the [Skip] notation meant.
I learn something new everyday.

Norman


On Sun, 2015-10-18 at 17:23 +0200, Florian Müllner wrote:
On Sun, Oct 18, 2015 at 5:16 PM, Norman L Smith <nls1729 gmail com>
wrote:
I thought about your question and there may be a simpler solution
than the code I suggested.
https://developer.gnome.org/gio/stable/GSettings.html#g-settings-bi
nd-w
ith-mapping

No, g_settings_bind_with_mapping() is not introspectable - note the
"skip" annotation in the documentation you linked. (The problem of
the
function is that it shared a single user_data/destroy_notify with
multiple callbacks).


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