public void MoveWidget(Gtk.Widget w, double x, double y) { ContainerCanvasChild child = this[w] as ContainerCanvasChild; if (child != null) { child.Move((int)x, (int)y); QueueResize(); } }
protected override void OnRemoved(Gtk.Widget w) { ContainerCanvasChild child = this[w] as ContainerCanvasChild; if (child != null) { child.Child.Unparent(); _children.Remove(w); QueueResize(); } }
public void AddWidget(Gtk.Widget w, double x, double y) { _children[w] = new ContainerCanvasChild(this, w, (int)x, (int)y); }