API Reference for Enthought Tool Suite 3.2.0
Trait definition for a null-based (i.e., no UI) font.
fh = TraitFont()
Mapping of strings to valid wxFont families
font_families = [ 'default', 'decorative', 'roman', 'script', 'swiss', 'modern' ]
Strings to ignore in text representations of fonts
font_noise = [ 'pt', 'point', 'family' ]
Mapping of strings to wxFont styles
font_styles = [ 'slant', 'italic' ]
Mapping of strings wxFont weights
font_weights = [ 'light', 'bold' ]
NullFont = Trait(fh.validate(None, None, 'Arial 10'), fh, editor = get_font_editor)
| Local name | Refers to |
|---|---|
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
| TraitHandler | enthought.traits.trait_handlers.TraitHandler |
© Copyright 2002-2009 Enthought, Inc.