* Jon Berndt -- Tuesday 21 June 2005 03:48:
> Is anyone aware of a [simple?] way to print out the property tree once it has 
> been
> populated?

gui:
  "File"/"Save"   ?   :-)


C++:
  fg_props.cxx:                 fgSaveFlight(cerr, true);
  simgear/props/props_io.cxx:   writeProperties(cerr, globals->get_props(), 
true);


Nasal/key binding:
    
    <key n="96">
        <name>Backtick</name>
        <desc>Dump property tree.</desc>
        <binding>
            <command>nasal</command>
            <script>props.dump(props.globals)</script>
        </binding>
    </key>


m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to