pyface.tree.node_tree module

A tree control with extensible node types.

class pyface.tree.node_tree.NodeTree(*args, **kwargs)[source]

Bases: pyface.base_toolkit.Toolkit.__call__.<locals>.Unimplemented

A tree control with extensible node types.

model = <traits.trait_types.Instance object>
node_manager = <traits.traits.ForwardProperty object>
node_types = <traits.traits.ForwardProperty object>
add_to_menu(menu_item)[source]

Adds a menu item to a menu bar.

add_to_toolbar(toolvar_item)[source]

Adds a tool bar item to a tool bar.

can_add_to_menu(action)[source]

Returns True iff an action can be added to the menu.

perform(action, event)[source]

Perform an action.