summaryrefslogtreecommitdiffstats
path: root/ganv/Canvas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Canvas.hpp')
-rw-r--r--ganv/Canvas.hpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index aa6cb95..139d5ab 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -121,20 +121,6 @@ public:
/** Return the current flow direction of the canvas. */
FlowDirection direction() const;
- /**
- Called whenever a edge is made.
- This should be overridden by an implementation to do something.
- */
- virtual void connect(Node* /*tail*/,
- Node* /*head*/) {}
-
- /**
- Called whenever a edge is severed.
- This should be overridden by an implementation to do something.
- */
- virtual void disconnect(Node* /*tail*/,
- Node* /*head*/) {}
-
typedef void (*NodeFunction)(GanvNode* node, void* data);
void for_each_node(NodeFunction f, void* data);
@@ -169,6 +155,7 @@ public:
GanvCanvas* gobj();
const GanvCanvas* gobj() const;
+ sigc::signal<bool, GdkEvent*> signal_event;
sigc::signal<void, Node*, Node*> signal_connect;
sigc::signal<void, Node*, Node*> signal_disconnect;