traits.editor_factories Module¶
Editor factory functions.
Functions¶
-
traits.editor_factories.bytes_editor(auto_set=True, enter_set=False, encoding=None)[source]¶ Factory function that returns a text editor for bytes.
-
traits.editor_factories.code_editor()[source]¶ Factory function that returns an editor that treats a multi-line string as source code.
-
traits.editor_factories.date_editor()[source]¶ Factory function that returns a Date editor for editing Date values.
-
traits.editor_factories.datetime_editor()[source]¶ Factory function that returns an editor with date & time for editing Datetime values.
-
traits.editor_factories.html_editor()[source]¶ Factory function for an “editor” that displays a multi-line string as interpreted HTML.
-
traits.editor_factories.list_editor(trait, handler)[source]¶ Factory that constructs an appropriate editor for a list.
-
traits.editor_factories.multi_line_text_editor(auto_set=True, enter_set=False)[source]¶ Factory function that returns a text editor for multi-line strings.
-
traits.editor_factories.password_editor(auto_set=True, enter_set=False)[source]¶ Factory function that returns an editor for passwords.