# wx.FontPickerEvent¶

This event class is used for the events generated by wx.FontPickerCtrl.

## Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.FontPickerEvent parameter.

• EVT_FONTPICKER_CHANGED: Generated whenever the selected font changes.

## Class Hierarchy¶

Inheritance diagram for class FontPickerEvent:

## Methods Summary¶

 __init__ The constructor is not normally used by the user code. GetFont Retrieve the font the user has just selected. SetFont Set the font associated with the event.

## Class API¶

class wx.FontPickerEvent(CommandEvent)

Possible constructors:

FontPickerEvent(generator, id, font)


This event class is used for the events generated by FontPickerCtrl.

### Methods¶

__init__(self, generator, id, font)

The constructor is not normally used by the user code.

Parameters

GetFont(self)

Retrieve the font the user has just selected.

Return type

wx.Font

SetFont(self, f)

Set the font associated with the event.

Parameters

f (wx.Font) –

### Properties¶

Font