dlg_show()

Displays a custom dialog window.

Syntax

planetcnc.dlg_show(handle)

Parameters

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

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
# Show an existing dialog with a known handle
dialog_handle = "MyDialogHandle"
result = planetcnc.dlg_show(dialog_handle)
 
print("Dialog result:", result)

See also

dlg_new
dlg_init
dlg_update
dlg_clear

dlg_show
dlg_run
dlg_abort

dlg_is_valid
dlg_keep_open
dlg_callback