Difference between revisions of "Dabo.ui.getFont"

From Dabo Wiki
Jump to: navigation, search
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getFont(font=None) </syntaxhighlight> == Description: == Displays the font selection dialog for the platform. Return...")
 
(No difference)

Latest revision as of 01:22, 13 May 2020

Signature:

dabo.ui.getFont(font=None)

Description:

Displays the font selection dialog for the platform. Returns a font object that can be assigned to a control's Font property. You may pass an instance of the dabo.ui.dFont class, and the font selection dialog will open defaulting to that font's characteristics.

Returns:

Returns an instance of the dabo.ui.dFont class with the selected font characteristics, or None if no selection was made.