Checks if a dialog contains an “Apply” button.
planetcnc.dlg_has_btn_apply(handle)
#! /usr/bin/env python import planetcnc # Check if a dialog has an Apply button dialog_handle = "MyDialogHandle" if planetcnc.dlg_has_btn_apply(dialog_handle): print("Dialog has an Apply button.") else: print("Dialog does not have an Apply button.")