traitsui.editors.font_editor module¶
Defines the font editor factory for all traits user interface toolkits.
- traitsui.editors.font_editor.FontEditor(*args, **traits)[source]¶
Returns an instance of the toolkit-specific editor factory declared in traitsui.<toolkit>.font_editor. If such an editor factory cannot be located, an instance of the abstract ToolkitEditorFactory declared in traitsui.editors.font_editor is returned.
- Parameters:
*args – arguments and keywords to be passed on to the editor factory’s constructor.
**traits – arguments and keywords to be passed on to the editor factory’s constructor.
- class traitsui.editors.font_editor.ToolkitEditorFactory(*args, **traits)[source]¶
Bases:
EditorFactory
Editor factory for font editors.