Dabo.ui.getFont

From Dabo Wiki
Revision as of 01:22, 13 May 2020 by Ed (talk | contribs) (Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.getFont(font=None) </syntaxhighlight> == Description: == Displays the font selection dialog for the platform. Return...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.