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 16:57:37 +0100
On 20/06/14 16:23, Victor A. Santos wrote:
Which is the syntax for property binding in UI definition files ?
I've tried:
<property name="label" bind-source="cross_low_adj"
bind-property="value" />
but:
<input>:3:3535 'bind-source' is not a valid attribute of <property>
If you want property "label" to have the value "cross_low_adj" then the
syntax is
<property name="label">cross_low_adj</property>
If you want the property to have the value in the variable cross_low_adj
then you can't do that with GtkBuilder, you need to write some code to
assign the property in your program.
Best Wishes
Phillip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]