Font picker element widgets

<element id="title_font">
  <font_picker />
    <restore />

Specifying an element with a <font_picker/> creates a new theme widget which is an x::w::font_picker widget. This is equivalent to invoking the factory's create_font_picker() method.

An optional config value initializes create_font_picker's x::w::font_picker_config parameter, as follows:


Sets the x::w::font_picker_config's initial_font. The value of the initial_font element is an id of a font.


This x::w::text_param value sets x::w::font_picker_config's ok_label.


This x::w::text_param value sets x::w::font_picker_config's cancel_label.


This sets x::w::font_picker_config's selection_required setting to false.


This sets x::w::font_picker_config's select_by_foundry setting to true.


This sets x::w::font_picker_config's foundry_required setting to true.


Calls x::w::font_picker_config's restore() method. The element must have a specified id, and the x::w::uigenerator must get constructed with a x::w::const_screen_positions parameter with preserved window positions.


Sets the font picker's appearance appearance object.