"\tvar jr = (JsRender.JsRender) lr.get_item();",
"\t//GLib.debug(\"change %s to %s\", lbl.label, np.name);",
"",
- "\tbtn.active = jr.compile_group_selected;",
+ "\t//btn.active = jr.compile_group_selected;",
"\t ",
- "// \tjr.bind_property(\"compile_group_selected\",",
- " // btn, \"active\",",
- "// GLib.BindingFlags.SYNC_CREATE); ",
+ " \tjr.bind_property(\"compile_group_selected\",",
+ " btn, \"active\",",
+ " GLib.BindingFlags.BIDIRECTIONAL); ",
" \t// bind image...",
" \t",
"}"
var jr = (JsRender.JsRender) lr.get_item();
//GLib.debug("change %s to %s", lbl.label, np.name);
- btn.active = jr.compile_group_selected;
+ //btn.active = jr.compile_group_selected;
- // jr.bind_property("compile_group_selected",
- // btn, "active",
- // GLib.BindingFlags.SYNC_CREATE);
+ jr.bind_property("compile_group_selected",
+ btn, "active",
+ GLib.BindingFlags.BIDIRECTIONAL);
// bind image...
});