wxFontDialog (wx v2.5.4)

Copy Markdown View Source

This class represents the font chooser dialog.

See:

This class is derived, and can use functions, from:

wxWidgets docs: wxFontDialog

Summary

Functions

Creates the dialog if the wxFontDialog object had been initialized using the default constructor.

Destroys the object

Returns the wxFontData associated with the font dialog.

Default ctor.

Constructor.

Types

wxFontDialog()

-type wxFontDialog() :: wx:wx_object().

Functions

create(This, Parent, Data) -> boolean()

Types

This = wxFontDialog()
Parent = wxWindow:wxWindow()
Data = wxFontData:wxFontData()

Creates the dialog if the wxFontDialog object had been initialized using the default constructor.

Return: true on success and false if an error occurred.

destroy(This :: wxFontDialog()) -> ok

Destroys the object

getFontData(This :: wxFontDialog()) -> Result

Types

Result = wxFontData:wxFontData()

Returns the wxFontData associated with the font dialog.

new() -> wxFontDialog()

Default ctor.

create/3 must be called before the dialog can be shown.

new(Parent, Data) -> wxFontDialog()

Types

Parent = wxWindow:wxWindow()
Data = wxFontData:wxFontData()

Constructor.

Pass a parent window, and the wxFontData object to be used to initialize the dialog controls.