Inherits from
- LabelProvider: enthought.pyface.viewer.label_provider.LabelProvider
Method summary
- get_drag_value(self, viewer, element)
- is_collapsible(self, viewer, element)
- is_expandable(self, viewer, node)
- set_text(self, viewer, element, text)
Methods
- get_drag_value(self, viewer, element)
Get the value that is dragged for an element.
By default the drag value is the element itself.
- is_collapsible(self, viewer, element)
Returns True is the element is collapsible, otherwise False.
- is_expandable(self, viewer, node)
Returns True is the node is expandanble, otherwise False.
- set_text(self, viewer, element, text)
Sets the text representation of a node.
Returns True if setting the text succeeded, otherwise False.