20,741
edits
m (→Nasal dialog) |
|||
Line 362: | Line 362: | ||
row.addItem(label); | row.addItem(label); | ||
# this adds a row of buttons for the 3 currently supported fgcommands | |||
# (support for suspend/resume is pending) | |||
foreach(var cmd; ["reinit", "remove-subsystem", "add-subsystem"]) { | foreach(var cmd; ["reinit", "remove-subsystem", "add-subsystem"]) { | ||
var button = canvas.gui.widgets.Button.new(root, canvas.style, {}) | var button = canvas.gui.widgets.Button.new(root, canvas.style, {}) |