Canvas GUI: Difference between revisions

Jump to navigation Jump to search
m
m (→‎PUI Widgets: http://flightgear.org/forums/viewtopic.php?f=71&t=17187&p=187244&hilit=canvas#p187244)
Line 35: Line 35:
var dlg = canvas.Window.new([400,300], "dialog")
var dlg = canvas.Window.new([400,300], "dialog")
                                     .set("title", "My Canvas Dialog...");
                                     .set("title", "My Canvas Dialog...");
<pre>
</pre>


The existing XML dialogs can still be used and will also be usable in the future (by a backwards compatibility layer or some migration path).  
The existing XML dialogs can still be used and will also be usable in the future (by a backwards compatibility layer or some migration path).  

Navigation menu