Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (52 loc) · 3.04 KB

signals.rst

File metadata and controls

57 lines (52 loc) · 3.04 KB

Signals

tree_manipulation

Fires off a signal on tree manipulation, e.g. a move() method. Sends the following:

Variable Description Allowed values

action

What tree manipulation method was called?

add_child

add_sibling

move

update

target_node_type Class of the target node.

If a StoryElementNode, this will be the value of story_element_type.

If an ArcElementNode, it will be the value of arc_element_type.

target_node

The node to which this is being move in relation to. If this is a move action, this will be populated with the target node for the move.

pos

Position relative to the target_node that this cell should be added to. Only populated when action is equal to move.

left

right

first-child

last-child

first-sibling

last-sibling