dlg_update()

Updates the settings of an existing custom dialog window.

Ensures the dialog reflects the latest changes.

Syntax

planetcnc.dlg_update(handle)

Parameters

Parameter Type Description Comment
handle string Handle of the dialog to update.

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
# Update an existing dialog with a known handle
dialog_handle = "MyDialogHandle"
planetcnc.dlg_update(dialog_handle)
 
print("Dialog updated.")

See also

dlg_new
dlg_init
dlg_update
dlg_clear

dlg_show
dlg_run
dlg_abort

dlg_is_valid
dlg_keep_open
dlg_callback