klyn.gui.windows.dialogs.ColorDialog.showDialog
method
public showDialog(owner as Window = null) as Boolean:
Description

Displays the dialog and blocks until selection or cancellation.

Parameters
ParameterDescription
ownerOptional owner used to inherit the current appearance mode.
Returns

True when the Select button accepted the current color.

Example
if ColorDialog().showDialog(window):
print("Color selected")