phoenix_title wx.FontPickerEvent

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

^^

events 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 Class Hierarchy

Inheritance diagram for class FontPickerEvent:

method_summary 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.


property_summary Properties Summary

Font

See GetFont and SetFont


api 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

See GetFont and SetFont