It looks like you're new here. If you want to get involved, click one of these buttons!
I found two ways that I can close KLayout using python code, namely:
but, ideally, I would like to prompt the "Save Needed" window, so I can check if the changes have been saved, before closing it.
Is there any way to prompt this window via python?