[Glade-devel] Property Binding Support: Present and Future



Am 01.09.2011 20:55, schrieb Tristan Van Berkom:
Regarding transformation, would'nt providing default transformations
(int<->   string, percentage<->   double in 0...1, etc.. ) make you life
easier by not supporting user provided functs while covering 90%
percent of use cases ?

That's a nice idea and would also benefit programmatic uses of
g_object_bind_property(). These functions would have to be in GLib,
though; otherwise, using them would require an external library where
they are defined in.

GBinding already defaults to using default transformation functions.

Really? This isn't documented anywhere. Thanks for mentioning! I admit 
that this makes the need for transformation functions much less 
pressing, but they are still a very useful feature.

Regards,
Denis




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