This control allows the user to select a font. The generic implementation is a button which brings up a
Styles
This class supports the following styles:
See:
This class is derived (and can use functions) from:
wxWidgets docs:
Event types emitted from this class:
Initializes the object and calls
Creates this widget with given parameters.
Return: true if the control was successfully created or false if creation failed.
Returns the currently selected font.
Note that this function is completely different from
Sets the currently selected font.
Note that this function is completely different from
Returns the maximum point size value allowed for the user-chosen font.
Sets the maximum point size value allowed for the user-chosen font.
The default value is 100. Note that big fonts can require a lot of memory and CPU time both for creation and for rendering; thus, specially because the user has the option to specify the fontsize through a text control (see wxFNTP_USE_TEXTCTRL), it's a good idea to put a limit to the maximum font size when huge fonts do not make much sense.
Destroys the object.