anidotnet
08/01/2018, 7:25 AMbutton ("Second View") {
setOnAction {
val stage = Stage()
stage.setOnShown {
println("Secondary $it")
}
val scene = Scene(SecondaryView().root)
FX.applyStylesheetsTo(scene)
stage.scene = scene
stage.show()
}
}
@edvin can we modify the openWindow
or openModal
so that we can properly subscribe to stage events?