Table Of Contents

Previous topic

FontPickerCtrl

Next topic

FontStyle

This Page

phoenix_title FontPickerEvent

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

events Events Emitted by this Class

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

  • EVT_FONTPICKER_CHANGED: Generated whenever the selected font changes.

See also

FontPickerCtrl


class_hierarchy Inheritance Diagram

Inheritance diagram for class FontPickerEvent

Inheritance diagram of 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 FontPickerEvent(CommandEvent)

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

Possible constructors:

FontPickerEvent(generator, id, font)

Methods



__init__(self, generator, id, font)

The constructor is not normally used by the user code.

Parameters:
  • generator (Object) –
  • id (int) –
  • font (Font) –


GetFont(self)

Retrieve the font the user has just selected.

Return type: Font


SetFont(self, f)

Set the font associated with the event.

Parameters:f (Font) –

Properties



Font

See GetFont and SetFont