summaryrefslogtreecommitdiffstats
path: root/ganv/edge.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-09 22:31:06 +0000
committerDavid Robillard <d@drobilla.net>2012-03-09 22:31:06 +0000
commita4811c2f8ca7d8e32d1230b58e8140b60fcee2a3 (patch)
treeb7b4966f5f4200bcc4e5d2fd02bf50629f63bf3c /ganv/edge.h
parentef767283f7afc77c61961007e97474694160f7c3 (diff)
downloadganv-a4811c2f8ca7d8e32d1230b58e8140b60fcee2a3.tar.gz
ganv-a4811c2f8ca7d8e32d1230b58e8140b60fcee2a3.tar.bz2
ganv-a4811c2f8ca7d8e32d1230b58e8140b60fcee2a3.zip
Fix "disconnect all".
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4036 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv/edge.h')
-rw-r--r--ganv/edge.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ganv/edge.h b/ganv/edge.h
index 9a409b2..2d51c89 100644
--- a/ganv/edge.h
+++ b/ganv/edge.h
@@ -71,6 +71,20 @@ ganv_edge_highlight(GanvEdge* edge);
void
ganv_edge_unhighlight(GanvEdge* edge);
+/**
+ * ganv_edge_disconnect:
+ * Disconnect the edge. This will disconnect the edge just as if it had been
+ * disconnected by the user via the canvas. The canvas disconnect signal will
+ * be emitted, allowing the application to control disconnect logic.
+ */
+void
+ganv_edge_disconnect(GanvEdge* edge);
+
+/**
+ * ganv_edge_remove:
+ * Remove the edge from the canvas. This will only remove the edge visually,
+ * it will not emit the canvas disconnect signal to notify the application.
+ */
void
ganv_edge_remove(GanvEdge* edge);