summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Edge.hpp1
-rw-r--r--ganv/edge.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index 443d569..dfac90e 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -67,6 +67,7 @@ public:
return ganv_edge_is_within(gobj(), x1, y1, x2, y2);
}
+ RW_PROPERTY(gboolean, constraining)
RW_PROPERTY(gboolean, curved)
RW_PROPERTY(gboolean, selected)
RW_PROPERTY(gboolean, highlighted)
diff --git a/ganv/edge.h b/ganv/edge.h
index 72b4105..557857c 100644
--- a/ganv/edge.h
+++ b/ganv/edge.h
@@ -65,6 +65,12 @@ ganv_edge_get_curved(const GanvEdge* edge);
void
ganv_edge_set_curved(GanvEdge* edge, gboolean curved);
+gboolean
+ganv_edge_get_constraining(const GanvEdge* edge);
+
+void
+ganv_edge_set_constraining(GanvEdge* edge, gboolean constraining);
+
void
ganv_edge_set_selected(GanvEdge* edge, gboolean selected);