Sets a dialog to be modal or non-modal.
A modal dialog prevents user interaction with other parts of the application until it is closed.
planetcnc.dlg_set_modal(handle, is_modal)
#! /usr/bin/env python import planetcnc # Set an existing dialog to be modal dialog_handle = "MyDialogHandle" planetcnc.dlg_set_modal(dialog_handle, True) print("Dialog is now modal.")