pyface.tree.trait_list_node_type module

The node type for a trait list.

class pyface.tree.trait_list_node_type.TraitListNodeType[source]

Bases: pyface.tree.node_type.NodeType

The node type for a trait list.

is_type_for(node)[source]

Returns True if this node type recognizes a node.

allows_children(node)[source]

Does the node allow children (ie. a folder vs a file).

has_children(node)[source]

Returns True if a node has children, otherwise False.

get_children(node)[source]

Returns the children of a node.

get_text(node)[source]

Returns the label text for a node.