Re: GLib plans for the next cycle



On Fri, Feb 13, 2009 at 11:52 AM, Stefan Kost <ensonic hora-obscura de> wrote:
> hi,
> Matthias Clasen schrieb:
>> With 2.20 winding down, I think now would be a good time to talk about
>> what should happen in Glib 2.22.
>
> What about
> http://bugzilla.gnome.org/show_bug.cgi?id=348080
> "GObject property bindings like in libexo"
>
> there is a patch attached. This is one of the feature that people comming from
> the qt camp miss in the g-world.
>

I have not looked at the patch in any detail yet. It is certainly
refreshing that it only needs 6 symbols.


+ * Bindings work by automatically connecting to the "notify" signal on the
+ * relevant properties. Keep in mind that this means property update
propagation
+ * is not instantaneous and may not be thread-safe.

I don't understand this. Why does this comment seem to imply that
property change notification and signals are non-instantaneous or not
threadsafe ?


+ * Mutual binding creates a bidirectional link between two properties,
+ * such that when either is updated, the other will likewise be updated.
+ * Binding is internally prevented from being recursive between objects,
+ * so that binding multiple objects and properties in complex ways
+ * is possible.

This is certainly not enough detail to actually use this in 'complex
ways' and have any confidence in what it does...

I guess I'll have to look at the patch some more...


Matthias


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