Re: GtkBuilder syntax for property bindings



On Fri, 2011-05-06 at 12:42 -0700, Christian Hergert wrote: 
> Since GBinding, is itself, an object, why not just have the GBinding
> instance represented in the GtkBuilder XML. The normal object syntax
> might work as well:
> 
>   <object class"GBinding" id="some_binding">
>     <property name="source">object1</property>
>     <property name="target">object2</property>
>   </object>
> 
> I think this would mean the majority of work is how to make it easy to
> manage from within Glade.

+1, and don't forget GBindingFlags.



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