klyn.gui.windows.Dialog.modal
property
public property modal as Boolean = false
Description

Whether this dialog is intended to block interaction with its owner while it is displayed.

Specialized showDialog() implementations use this property to expose their modality through the common Dialog contract. A plain dialog can remain modeless when displayed with show().

dialog = Dialog("Confirmation")
dialog.modal = true
dialog.run()