.. include:: headings.inc .. _FontPickerEvent: ========================================================================================================================================== |phoenix_title| **FontPickerEvent** ========================================================================================================================================== This event class is used for the events generated by :ref:`FontPickerCtrl`. .. _FontPickerEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`FontPickerEvent` parameter. - EVT_FONTPICKER_CHANGED: Generated whenever the selected font changes. .. seealso:: :ref:`FontPickerCtrl` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **FontPickerEvent** .. raw:: html

Inheritance diagram of FontPickerEvent

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~FontPickerEvent.__init__` The constructor is not normally used by the user code. :meth:`~FontPickerEvent.GetFont` Retrieve the font the user has just selected. :meth:`~FontPickerEvent.SetFont` Set the font associated with the event. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~FontPickerEvent.Font` See :meth:`~FontPickerEvent.GetFont` and :meth:`~FontPickerEvent.SetFont` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: FontPickerEvent(CommandEvent) This event class is used for the events generated by FontPickerCtrl. **Possible constructors**:: FontPickerEvent(generator, id, font) .. method:: __init__(self, generator, id, font) The constructor is not normally used by the user code. :param `generator`: :type `generator`: Object :param `id`: :type `id`: int :param `font`: :type `font`: Font .. method:: GetFont(self) Retrieve the font the user has just selected. :rtype: :ref:`Font` .. method:: SetFont(self, f) Set the font associated with the event. :param `f`: :type `f`: Font .. attribute:: Font See :meth:`~FontPickerEvent.GetFont` and :meth:`~FontPickerEvent.SetFont`