Re: GtkBuilder property binding syntax
- From: "Phillip Wood" <phil philandanna no-ip org>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkBuilder property binding syntax
- Date: Fri, 20 Jun 2014 19:28:51 +0100
On 20/06/14 17:04, Emmanuele Bassi wrote:
hi;
that's not entirely correct: GtkBuilder now allows binding properties
directly in the XML:
It is also possible to bind a property value to another object's property value using
the attributes "bind-source" to specify the source object of the binding, "bind-property"
to specify the source property and optionally "bind-flags" to specify the binding flags
Internally builder implement this using GBinding objects. For more information see
g_object_bind_property()
but in order to do that, you'll need the current development tree of
GTK+, 3.13. the next stable version of GTK+ that will support binding
properties directly in the XML, 3.14, is going to be release in
August/September.
for the time being, you'll indeed have to use code.
ciao,
Emmanuele.
Thanks for the correction I wasn't aware of that. It sounds like a
useful addition to GtkBuilder
Best Wishes
Phillip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]