pyface.tree.trait_dict_node_type module

The node type for a trait dictionary.

class pyface.tree.trait_dict_node_type.TraitDictNodeType[source]

Bases: NodeType

The node type for a trait dictionary.

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.