chaco.tools.broadcaster module

Defines the BroadcasterTool class.

class chaco.tools.broadcaster.BroadcasterTool(component=None, **traits)

Bases: enable.base_tool.BaseTool

A simple tool that keeps a list of other tools, and broadcasts events it receives to all of the tools.

dispatch(event, suffix)

Dispatches a mouse event based on the current event state.

Overrides BaseTool.

mouse_owners = Dict

Mapping from tools to transforms, for tools that can be mouse owners. (See enable.AbstractWindow.)

tools = List

The tools to which this tool broadcasts events.