示例#1
0
        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();
            }
        }
示例#2
0
        protected override void OnRemoved(Gtk.Widget w)
        {
            ContainerCanvasChild child = this[w] as ContainerCanvasChild;

            if (child != null)
            {
                child.Child.Unparent();
                _children.Remove(w);
                QueueResize();
            }
        }
示例#3
0
		public void AddWidget(Gtk.Widget w, double x, double y) {
			_children[w] = new ContainerCanvasChild(this, w, (int)x, (int)y);
		}
示例#4
0
 public void AddWidget(Gtk.Widget w, double x, double y)
 {
     _children[w] = new ContainerCanvasChild(this, w, (int)x, (int)y);
 }