Guys I was wondering, how do I create a new stage ...
# tornadofx
a
Guys I was wondering, how do I create a new stage and attach a view from my tornadofx application? There are only demo codes of how to use a view on the primary stage from
App
, but nothing for additional stages. If I want to open an additional window from my app, I can't use view life cycle methods. As far as I can see from the code is that
App.start()
does all the gluing and run the life cycle methods of the main view. But unfortunately these codes are all
internal
, even
view.callOnDock()
is not accessible. Can we please provide a method which we can reuse or am I missing something terribly?
a
I'm sorry I'm very late, but what is the use case to use multiple stages?
a
Suppose you want to open your application's settings page and configure it.