<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxFontPickerCtrl</title>
</header>
<module>wxFontPickerCtrl</module>
<modulesummary>Functions for wxFontPickerCtrl class</modulesummary>
<description><p>This control allows the user to select a font. The generic implementation is a button which brings up a <seeerl marker="wxFontDialog"><c>wxFontDialog</c></seeerl> when clicked. Native implementation may differ but this is usually a (small) widget which give access to the font-chooser dialog. It is only available if <c>wxUSE_FONTPICKERCTRL</c> is set to 1 (the default).
      </p><p>Styles</p><p>This class supports the following styles:
      </p><p>See: <seeerl marker="wxFontDialog"><c>wxFontDialog</c></seeerl>, <seeerl marker="wxFontPickerEvent"><c>wxFontPickerEvent</c></seeerl>
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxPickerBase"><c>wxPickerBase</c></seeerl> <seeerl marker="wxControl"><c>wxControl</c></seeerl> <seeerl marker="wxWindow"><c>wxWindow</c></seeerl> <seeerl marker="wxEvtHandler"><c>wxEvtHandler</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_font_picker_ctrl.html">wxFontPickerCtrl</url></p>
  </description><section><title>Events</title><p>Event types emitted from this class: <seeerl marker="wxFontPickerEvent"><c>command_fontpicker_changed</c></seeerl></p></section>
<datatypes><datatype><name name="wxFontPickerCtrl"/></datatype></datatypes>

<funcs>
  <func>
    <name name="new" arity="0" clause_i="1" since=""/>
    <fsummary/>
    <desc/>
  </func>
  
  <func>
    <name name="new" arity="2" clause_i="1" since=""/>
    <fsummary>See: <c>new/3</c></fsummary>
  </func>
  
  <func>
    <name name="new" arity="3" clause_i="1" since=""/>
    <fsummary>Initializes the object and calls <c>create/4</c> with all the parameters. </fsummary>
    <desc><p>Initializes the object and calls <seemfa marker="#create/4"><c>create/4</c></seemfa> with all the parameters. 
      </p></desc>
  </func>
  
  <func>
    <name name="create" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>create/4</c></fsummary>
  </func>
  
  <func>
    <name name="create" arity="4" clause_i="1" since=""/>
    <fsummary>Creates this widget with given parameters. </fsummary>
    <desc><p>Creates this widget with given parameters. 
      </p><p>Return: true if the control was successfully created or false if creation failed. 
      </p></desc>
  </func>
  
  <func>
    <name name="getSelectedFont" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the currently selected font. </fsummary>
    <desc><p>Returns the currently selected font. 
      </p><p>Note that this function is completely different from <seemfa marker="wxWindow#getFont/1"><c>wxWindow:getFont/1</c></seemfa>. 
      </p></desc>
  </func>
  
  <func>
    <name name="setSelectedFont" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the currently selected font. </fsummary>
    <desc><p>Sets the currently selected font. 
      </p><p>Note that this function is completely different from <seemfa marker="wxWindow#setFont/2"><c>wxWindow:setFont/2</c></seemfa>. 
      </p></desc>
  </func>
  
  <func>
    <name name="getMaxPointSize" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the maximum point size value allowed for the user-chosen font. </fsummary>
    <desc><p>Returns the maximum point size value allowed for the user-chosen font. 
      </p></desc>
  </func>
  
  <func>
    <name name="setMaxPointSize" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the maximum point size value allowed for the user-chosen font. </fsummary>
    <desc><p>Sets the maximum point size value allowed for the user-chosen font. 
      </p><p>The default value is 100. Note that big fonts can require a lot of memory and CPU time both for creation and for rendering; thus, specially because the user has the option to specify the fontsize through a text control (see wxFNTP_USE_TEXTCTRL), it's a good idea to put a limit to the maximum font size when huge fonts do not make much sense. 
      </p></desc>
  </func>
  
  <func>
    <name name="destroy" arity="1" clause_i="1" since=""/>
    <fsummary>Destructor</fsummary>
    <desc><p>Destroys the object.</p></desc>
  </func>
  </funcs>
</erlref>
