| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class FontData |
|
object--+ |Object--+ | FontData
This class holds a variety of information related to font dialogs and
is used to transfer settings to and results from a wx.FontDialog.
| Method Summary | |
|---|---|
| FontData |
This class holds a variety of information related to font dialogs and is used to transfer settings to and results from a wx.FontDialog. |
__del__(self)
| |
Enables or disables 'effects' under MS Windows only. | |
| bool |
Under MS Windows, returns a flag determining whether symbol fonts can be selected. |
| Font |
Gets the font chosen by the user. |
| Colour |
Gets the colour associated with the font dialog. |
| bool |
Determines whether 'effects' are enabled under Windows. |
| Font |
Gets the font that will be initially used by the font dialog. |
| bool |
Returns true if the Help button will be shown (Windows only). |
Under MS Windows, determines whether symbol fonts can be selected. | |
Sets the font that will be returned to the user (normally for internal use only). | |
Sets the colour that will be used for the font foreground colour. | |
Sets the font that will be initially used by the font dialog. | |
Sets the valid range for the font point size (Windows only). | |
Determines whether the Help button will be displayed in the font dialog (Windows only). | |
| Property Summary | |
|---|---|
AllowSymbols: See GetAllowSymbols and SetAllowSymbols | |
ChosenFont: See GetChosenFont and SetChosenFont | |
Colour: See GetColour and SetColour | |
InitialFont: See GetInitialFont and SetInitialFont | |
ShowHelp: See GetShowHelp and SetShowHelp | |
thisown: The membership flag | |
| Method Details |
|---|
__init__(self)
|
EnableEffects(self, enable)Enables or disables 'effects' under MS Windows only. This refers to the controls for manipulating colour, strikeout and underline properties. The default value is true.
|
GetAllowSymbols(self)Under MS Windows, returns a flag determining whether symbol fonts can be selected. Has no effect on other platforms. The default value is true.
|
GetChosenFont(self)Gets the font chosen by the user.
|
GetColour(self)Gets the colour associated with the font dialog. The default value is black.
|
GetEnableEffects(self)Determines whether 'effects' are enabled under Windows.
|
GetInitialFont(self)Gets the font that will be initially used by the font dialog. This should have previously been set by the application.
|
GetShowHelp(self)Returns true if the Help button will be shown (Windows only). The default value is false.
|
SetAllowSymbols(self, allowSymbols)Under MS Windows, determines whether symbol fonts can be selected. Has no effect on other platforms. The default value is true.
|
SetChosenFont(self, font)Sets the font that will be returned to the user (normally for internal use only).
|
SetColour(self, colour)Sets the colour that will be used for the font foreground colour. The default colour is black.
|
SetInitialFont(self, font)Sets the font that will be initially used by the font dialog.
|
SetRange(self, min, max)Sets the valid range for the font point size (Windows only). The default is 0, 0 (unrestricted range).
|
SetShowHelp(self, showHelp)Determines whether the Help button will be displayed in the font dialog (Windows only). The default value is false.
|
| Property Details |
|---|
AllowSymbolsSee
|
ChosenFontSee
|
Colour |
InitialFontSee
|
ShowHelpSee
|
thisownThe membership flag |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:12:26 2007 | http://epydoc.sf.net |