Unable to use bind_property_full
I tryed to use bind_property_full function in a gnome-shell extension but I failed to set the tranformed value. After talking with @ebassi it's seem that the issue should be related to "the translation of GClosure arguments from GValue to JS values"
Main.panel.statusArea.dateMenu._clock.bind_property_full(
'clock',
Main.panel.statusArea.dateMenu._clockDisplay,
'text',
GObject.BindingFlags.SYNC_CREATE,
(binding, fromValue, toValue) => {
//toValue is a primitive string
},
(binding, fromValue, toValue) => {
// never called
}
);
It's seem that currently bind_property_full it's unusable.
Thanks for you work guys!
Edited by Emmanuele Bassi