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
integer representing the dialog result
None if the dialog is already visible
Raises exception on error if the handle is invalid
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