wxFontData
Module
Module Summary
Description
This class holds a variety of information related to font dialogs.
See: Overview cmndlg, wxFont, wxFontDialog
wxWidgets docs: wxFontData
new() -> wxFontData()
|
Constructor.
Initializes fontColour to black, showHelp to false, allowSymbols to true, enableEffects to true, minSize to 0 and maxSize to 0.
new(Data) -> wxFontData()
|
Types
Copy Constructor.
Enables or disables "effects" under Windows or generic only.
This refers to the controls for manipulating colour, strikeout and underline properties.
The default value is true.
Types
Under Windows, returns a flag determining whether symbol fonts can be selected.
Has no effect on other platforms.
The default value is true.
getColour(This) -> wx:wx_colour4()
|
Types
Gets the colour associated with the font dialog.
The default value is black.
getChosenFont(This) -> wxFont:wxFont()
|
Types
Gets the font chosen by the user if the user pressed OK (wxFontDialog::ShowModal() (not implemented in wx) returned wxID_OK).
Types
Determines whether "effects" are enabled under Windows.
This refers to the controls for manipulating colour, strikeout and underline properties.
The default value is true.
getInitialFont(This) -> wxFont:wxFont()
|
Types
Gets the font that will be initially used by the font dialog.
This should have previously been set by the application.
Types
Returns true if the Help button will be shown (Windows only).
The default value is false.
Under Windows, determines whether symbol fonts can be selected.
Has no effect on other platforms.
The default value is true.
Sets the font that will be returned to the user (for internal use only).
Sets the colour that will be used for the font foreground colour.
The default colour is black.
Sets the font that will be initially used by the font dialog.
Sets the valid range for the font point size (Windows only).
The default is 0, 0 (unrestricted range).
Determines whether the Help button will be displayed in the font dialog (Windows only).
The default value is false.
destroy(This :: wxFontData()) -> ok |
Destroys the object.