aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index 78378aa8..bf04617d 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -19,6 +19,10 @@ namespace go
}
#endregion
+ #region EVENT HANDLERS
+ public event EventHandler<EventArgs> ChildrenCleared;
+ #endregion
+
bool _multiSelect = false;
List<GraphicObject> children = new List<GraphicObject>();
@@ -63,6 +67,7 @@ namespace go
Children.Remove(g);
}
this.RegisterForLayouting ((int)LayoutingType.Sizing);
+ ChildrenCleared.Raise (this, new EventArgs ());
}
public void putWidgetOnTop(GraphicObject w)
{