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

Displays the dialog and blocks until the user accepts or cancels it.

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

True when the Select button or a font-row double-click accepted the candidate.

Example
if FontDialog().showDialog(window):
print("A font was selected")