Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxFontDialog (3erl)

Name

wxFontDialog - Functions for wxFontDialog class

Synopsis

Please see following description for synopsis

Description

wxFontDialog(3)            Erlang Module Definition            wxFontDialog(3)



NAME
       wxFontDialog - Functions for wxFontDialog class

DESCRIPTION
       This class represents the font chooser dialog.

       See: Overview cmndlg, wxFontData, ?wxGetFontFromUser()

       This  class  is  derived  (and  can use functions) from: wxDialog wxTo-
       pLevelWindow wxWindow wxEvtHandler

       wxWidgets docs: wxFontDialog

DATA TYPES
       wxFontDialog() = wx:wx_object()

EXPORTS
       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.

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

              Types:

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

              Creates  the dialog if the wxFontDialog object had been initial-
              ized using the default constructor.

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

       getFontData(This) -> wxFontData:wxFontData()

              Types:

                 This = wxFontDialog()

              Returns the wxFontData associated with the font dialog.

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

              Destroys the object.



wxWidgets team.                    wx 2.1.1                    wxFontDialog(3)