Inherits from
- SimpleEditor: enthought.traits.ui.wx.text_editor.SimpleEditor
Attributes
- dclick
Event fired when the user double-clicks a file:
dclick = Event
- filter
Wildcard filter to apply to the file dialog:
filter = filter_trait
- reload
Event fired when the file system view should be rebuilt:
reload = Event
- scrollable
Is the file editor scrollable? This value overrides the default.
scrollable = True
Inherited from base classes
Traits
Inherited from base classes
Method summary
- dispose(self)
- get_error_control(self)
- get_style(self)
- init(self, parent)
- update_editor(self)
- update_object(self, event)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __init__(self, parent, **traits)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __set_value(self, value)
- __setstate__(self, state, trait_change_notify = True)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- error(self, excp)
- get_undo_item(self, object, name, old_value, new_value)
- has_traits_interface(self, *interfaces)
- in_error_state(self)
- log_change(self, undo_factory, *undo_args)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- parse_extended_name(self, name)
- prepare(self, parent)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- restore_prefs(self, prefs)
- save_prefs(self)
- set_error_state(self, state = None, control = None)
- set_tooltip(self, control = None)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- string_value(self, value, format_func = None)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- sync_value(self, user_name, editor_name, mode = 'both', is_list = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- dispose(self)
Disposes of the contents of an editor.
- get_error_control(self)
Returns the editor's control for indicating error status.
- get_style(self)
Returns the basic style to use for the control.
- init(self, parent)
Finishes initializing the editor by creating the underlying toolkit widget.
- update_editor(self)
Updates the editor when the object trait changes externally to the editor.
- update_object(self, event)
Handles the user changing the contents of the edit control.