wxFontDialog.3erl - Man Page

Functions for wxFontDialog class


This class represents the font chooser dialog.

See: Overview cmndlg, wxFontData, ?wxGetFontFromUser()

This class is derived (and can use functions) from: wxDialog wxTopLevelWindow wxWindow wxEvtHandler

wxWidgets docs: wxFontDialog

Data Types

wxFontDialog() = wx:wx_object()


new() -> wxFontDialog()

Default ctor.

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

new(Parent, Data) -> wxFontDialog()

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


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

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

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.

getFontData(This) -> wxFontData:wxFontData()

This = wxFontDialog()

Returns the wxFontData associated with the font dialog.

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

Destroys the object.


wx 2.4 wxWidgets team. Erlang Module Definition