FontDialog.setCommand

Set the callback to execute when a new font is choosen. When the callback is executed information about the choosen font is stored as a string in the CommandArgs.Dialog struct.

class FontDialog
setCommand
(
this T
)

Parameters

callback CommandCallback

The delegate callback to execute when invoking the command.

Return Value

Type: auto

This dialog to aid method chaining.

Callback Arguments

These are the fields within the callback's CommandArgs parameter which are populated by this method when the callback is executed.

$(PARAM_TABLE $(PARAM_ROW CommandArgs.element, The element that executed the callback.) $(PARAM_ROW CommandArgs.callback, The callback which was executed.) $(PARAM_ROW CommandArgs.dialog.font, Font information populated from dialog interaction.) )

See Also

Meta