highlighting
vbox
true
6
hbox
1
1
0
0
sim/highlighting/enabled
dialog-apply
property-list
200
200
fill
fill
true
/sim/highlighting/current-ptr
true
dialog-apply
property-list
printf("open");
var self = cmdarg();
var dlgname = self.getNode("name").getValue();
var dlg = props.globals.getNode("/sim/gui/dialogs/" ~ dlgname, 1);
var update_interval = 0.5;
var update = func(w) {
self.setValues({ "dialog-name": dlgname, "object-name": w });
fgcommand("dialog-update", self);
}
var auto_update = func {
update("property-list");
if (update_interval)
settimer(auto_update, update_interval, 1);
}
auto_update();
update_interval = 0;