****************** wx.FontPickerEvent ****************** Inheritance diagram for `wx.FontPickerEvent`: | .. inheritance-diagram:: wx.FontPickerEvent | Description =========== This event class is used for the events generated by `wx.FontPickerCtrl <../Widgets/wx.FontPickerCtrl.html>`_ . .. seealso:: `wx.FontPickerCtrl <../Widgets/wx.FontPickerCtrl.html>`_ Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ ================================================== ================================================== Event Name Description ================================================== ================================================== wx.EVT_FONTPICKER_CHANGED(id, func) Generated whenever the selected font changes. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetFont <#GetFont>`_ * `SetFont <#SetFont>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Font <#Font>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(generator, id, f) Constructor. **Parameters:** * `generator` (`wx.Object <../Widgets/wx.Object.html>`_) * `id` (int) * `f` (`wx.Font <../Widgets/wx.Font.html>`_) | **Returns:** `wx.FontPickerEvent `_ -------- .. method:: GetFont() Retrieve the font the user has just selected. | **Returns:** `wx.Font <../Widgets/wx.Font.html>`_ -------- .. method:: SetFont(f) Set the font associated with the event. **Parameters:** * `f` (`wx.Font <../Widgets/wx.Font.html>`_) -------- Properties ^^^^^^^^^^ .. attribute:: Font See `GetFont <#GetFont>`_ and `SetFont <#SetFont>`_