Dabo.ui.getFont

From Dabo Wiki
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.