You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using this library to build a desktop project but I need to close the window manually and re-create it later. Now I'm using the ktx library but I cannot find any methods to do this. Are there any methods for me to use in order to close the window? My code is attached below. Thanks.
funmain(args:Array<String>?) {
appMain() // Display the UI and block// To do some extra work.
}
funappMain() = appWindow(
title ="Sample",
width =320,
height =240
) {
vbox {
button ("Quit") {
action {
// uiControlDestroy// I tried it but the window closes without continuing the statements in main().this@appWindow.dispose()
}
}
}
}
The text was updated successfully, but these errors were encountered:
Hi,
I'm using this library to build a desktop project but I need to close the window manually and re-create it later. Now I'm using the ktx library but I cannot find any methods to do this. Are there any methods for me to use in order to close the window? My code is attached below. Thanks.
The text was updated successfully, but these errors were encountered: