Classes | |
class | wxFontDialog |
This class represents the font chooser dialog. More... | |
Functions | |
wxFont | wxGetFontFromUser (wxWindow *parent, const wxFont &fontInit, const wxString &caption=wxEmptyString) |
Shows the font selection dialog and returns the font selected by user or invalid font (use wxFont::IsOk() to test whether a font is valid) if the dialog was cancelled. | |
wxFont wxGetFontFromUser | ( | wxWindow * | parent, |
const wxFont & | fontInit, | ||
const wxString & | caption = wxEmptyString |
||
) |
Shows the font selection dialog and returns the font selected by user or invalid font (use wxFont::IsOk() to test whether a font is valid) if the dialog was cancelled.
parent | The parent window for the font selection dialog. |
fontInit | If given, this will be the font initially selected in the dialog. |
caption | If given, this will be used for the dialog caption. |
Include file:
#include <wx/fontdlg.h>