Scheme Link (link)¶

Scheme Link¶

class orangecanvas.scheme.link.SchemeLink(source_node, source_channel, sink_node, sink_channel, enabled=True, properties=None, parent=None)¶

Bases: PyQt4.QtCore.QObject

A instantiation of a link between two SchemeNode instances in a Scheme.

Parameters:
  • source_node (SchemeNode) – Source node.
  • source_channel (OutputSignal) – The source widget’s signal.
  • sink_node (SchemeNode) – The sink node.
  • sink_channel (InputSignal) – The sink widget’s input signal.
  • properties (dict) – Additional link properties.
enabled_changed(enabled)¶

The link enabled state has changed

dynamic_enabled_changed(enabled)¶

The link dynamic enabled state has changed.

source_type()¶

Return the type of the source channel.

sink_type()¶

Return the type of the sink channel.

is_dynamic()¶

Is this link dynamic.

set_enabled(enabled)¶

Enable/disable the link.

enabled¶

Is this link enabled.

set_dynamic_enabled(enabled)¶

Enable/disable the dynamic link. Has no effect if the link is not dynamic.

dynamic_enabled¶

Is this a dynamic link and is dynamic_enabled set to True

set_tool_tip(tool_tip)¶

Set the link tool tip.

tool_tip¶

Link tool tip.

Table Of Contents

  • Scheme Link (link)
    • Scheme Link

Related Topics

  • Documentation overview
    • Orange Canvas Reference
      • Scheme (scheme)
        • Previous: Scheme Node (node)
        • Next: Scheme Annotations (annotations)

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

©2015, Bioinformatics Laboratory, FRI UL. | Powered by Sphinx 1.3.1 & Alabaster 0.7.6 | Page source