Gio.GSettings bind Gtk.ColorButton
- From: "Andre \"Osku\" Schmidt" <andre osku schmidt gmail com>
- To: gnome-shell-list gnome org
- Subject: Gio.GSettings bind Gtk.ColorButton
- Date: Sun, 18 Oct 2015 11:32:33 +0200
Hi,
i'm doing my first gnome-shell extension (specifically prefs.js for
gnome-tweak-tool) and was wondering how we bind Gtk.ColorButton with
Gio.GSettings?
Like Gtk.Entry can be bound with 'text' (s), Gtk.CheckButton with
'active' (b) and Gtk.SpinButton with 'value' (i/d). Is there a type we
can use for Gtk.ColorButton?
Cheers
Andre Schmidt
ps. i was guessing i need to use
https://developer.gnome.org/gio/stable/GSettings.html#g-settings-bind-with-mapping
to map what ever Gtk.ColorButton uses, to text, but that seems to be
not implemented in javascript.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]