API Reference for Enthought Tool Suite 2.7.1
All available font facenames:
facenames = None
fh = TraitWXFont()
font_families = { Const('default') : Getattr(Name('wx'), 'DEFAULT'), Const('decorative') : Getattr(Name('wx'), 'DECORATIVE'), Const('roman') : Getattr(Name('wx'), 'ROMAN'), Const('script') : Getattr(Name('wx'), 'SCRIPT'), Const('swiss') : Getattr(Name('wx'), 'SWISS'), Const('modern') : Getattr(Name('wx'), 'MODERN') }
font_noise = [ 'pt', 'point', 'family' ]
font_styles = { Const('slant') : Getattr(Name('wx'), 'SLANT'), Const('italic') : Getattr(Name('wx'), 'ITALIC') }
font_trait = Trait(fh.validate(None, None, 'Arial 10'), fh, editor = ToolkitEditorFactory())
font_weights = { Const('light') : Getattr(Name('wx'), 'LIGHT'), Const('bold') : Getattr(Name('wx'), 'BOLD') }
Standard font point sizes:
PointSizes = [ '8', '9', '10', '11', '12', '14', '16', '18', '20', '22', '24', '26', '28', '36', '48', '72' ]
Returns a list of all available font facenames.
| Local name | Refers to |
|---|---|
| choice_width | enthought.traits.ui.tk.helper.choice_width |
| Editor | enthought.traits.ui.tk.editor.Editor |
| EditorFactory | enthought.traits.ui.tk.editor_factory.EditorFactory |
| ReadonlyEditor | enthought.traits.ui.tk.editor_factory.ReadonlyEditor |
| SimpleEditor | enthought.traits.ui.tk.editor_factory.SimpleEditor |
| TextEditor | enthought.traits.ui.tk.editor_factory.TextEditor |
| tk | tk |
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
| TraitFactory | enthought.traits.traits.TraitFactory |
| TraitHandler | enthought.traits.trait_handlers.TraitHandler |
Copyright © 2002-2008 Enthought, Inc.