Aborts and closes a running dialog.
Terminates the specified dialog and exits the event loop.
planetcnc.dlg_abort(handle)
#! /usr/bin/env python import planetcnc # Abort an existing dialog with a known handle dialog_handle = "MyDialogHandle" planetcnc.dlg_abort(dialog_handle) print("Dialog aborted.")