Curtis L. Olson wrote:
> Is there a way to preset certain property values when opening up a
> dialog box?  I see that we can force arbitrary property values when
> clicking ok, but it would be nice to force some default values when a
> dialog box is opened.

Not right now, unfortunately.  The property trees defining the dialog
objects don't live in a place where you can find them.

I have some modifications in the works that will allow you to create
new dialogs dynamically with a "dialog-new" command.  You can then
generate a SGPropertyNode dynamically or just use one in the global
tree and modify it as you like before generating the dialog.  None of
this is Nasal-specific.  But that would, of course, be the obvious
choice for such work. :)

Andy


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to