Inherits from
- HasPrivateTraits: enthought.traits.has_traits.HasPrivateTraits
Attributes
Inherited from base classes
Method summary
- tno_allows_children(self, node)
- tno_append_child(self, node, child)
- tno_can_add(self, node, add_object)
- tno_can_auto_close(self, node)
- tno_can_auto_open(self, node)
- tno_can_copy(self, node)
- tno_can_delete(self, node)
- tno_can_delete_me(self, node)
- tno_can_insert(self, node)
- tno_can_rename(self, node)
- tno_can_rename_me(self, node)
- tno_click(self, node)
- tno_confirm_delete(self, node)
- tno_dclick(self, node)
- tno_delete_child(self, node, index)
- tno_drop_object(self, node, dropped_object)
- tno_get_add(self, node)
- tno_get_children(self, node)
- tno_get_children_id(self, node)
- tno_get_drag_object(self, node)
- tno_get_icon(self, node, is_expanded)
- tno_get_icon_path(self, node)
- tno_get_label(self, node)
- tno_get_menu(self, node)
- tno_get_name(self, node)
- tno_get_tooltip(self, node)
- tno_get_view(self, node)
- tno_has_children(self, node)
- tno_insert_child(self, node, index, child)
- tno_is_node_for(self, node)
- tno_select(self, node)
- tno_set_label(self, node, label)
- tno_when_children_changed(self, node, listener, remove)
- tno_when_children_replaced(self, node, listener, remove)
- tno_when_label_changed(self, node, listener, remove)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __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)
- has_traits_interface(self, *interfaces)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = 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
- tno_allows_children(self, node)
Returns whether this object allows children.
- tno_append_child(self, node, child)
Appends a child to the object's children.
- tno_can_add(self, node, add_object)
Returns whether a given object is droppable on the node.
- tno_can_auto_close(self, node)
Returns whether the object's children should be automatically closed.
- tno_can_auto_open(self, node)
Returns whether the object's children should be automatically opened.
- tno_can_copy(self, node)
Returns whether the object's children can be copied.
- tno_can_delete(self, node)
Returns whether the object's children can be deleted.
- tno_can_delete_me(self, node)
Returns whether the object can be deleted.
- tno_can_insert(self, node)
Returns whether the object's children can be inserted (vs. appended).
- tno_can_rename(self, node)
Returns whether the object's children can be renamed.
- tno_can_rename_me(self, node)
Returns whether the object can be renamed.
- tno_click(self, node)
Handles an object being clicked.
- tno_confirm_delete(self, node)
Checks whether a specified object can be deleted.
Returns
- True if the object should be deleted with no further prompting.
- False if the object should not be deleted.
- Anything else: Caller should take its default action (which might include prompting the user to confirm deletion).
- tno_dclick(self, node)
Handles an object being double-clicked.
- tno_delete_child(self, node, index)
Deletes a child at a specified index from the object's children.
- tno_drop_object(self, node, dropped_object)
Returns a droppable version of a specified object.
- tno_get_add(self, node)
Returns the list of classes that can be added to the object.
- tno_get_children(self, node)
Gets the object's children.
- tno_get_children_id(self, node)
Gets the object's children identifier.
- tno_get_drag_object(self, node)
Returns a draggable version of a specified object.
- tno_get_icon(self, node, is_expanded)
Returns the icon for a specified object.
- tno_get_icon_path(self, node)
Returns the path used to locate an object's icon.
- tno_get_label(self, node)
Gets the label to display for a specified object.
- tno_get_name(self, node)
Returns the name to use when adding a new object instance (displayed in the "New" submenu).
- tno_get_tooltip(self, node)
Gets the tooltip to display for a specified object.
- tno_get_view(self, node)
Gets the view to use when editing an object.
- tno_has_children(self, node)
Returns whether this object has children.
- tno_insert_child(self, node, index, child)
Inserts a child into the object's children.
- tno_is_node_for(self, node)
Returns whether this is the node that should handle a specified object.
- tno_select(self, node)
Handles an object being selected.
- tno_set_label(self, node, label)
Sets the label for a specified object.
- tno_when_children_changed(self, node, listener, remove)
Sets up or removes a listener for children being changed on a specified object.
- tno_when_children_replaced(self, node, listener, remove)
Sets up or removes a listener for children being replaced on a specified object.
- tno_when_label_changed(self, node, listener, remove)
Sets up or removes a listener for the label being changed on a specified object.