wx.FontPickerEvent
Inheritance diagram for wx.FontPickerEvent:
Description
This event class is used for the events generated by wx.FontPickerCtrl .
Event Handling
Event Name |
Description |
wx.EVT_FONTPICKER_CHANGED(id, func) |
Generated whenever the selected font changes. |
Class API
Methods
-
__init__(generator, id, f)
Constructor.
Parameters:
Returns:
wx.FontPickerEvent
-
GetFont()
Retrieve the font the user has just selected.
Returns:
wx.Font
-
SetFont(f)
Set the font associated with the event.
Parameters: