Ejemplo n.º 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();
            }
        }
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 3
0
		public void AddWidget(Gtk.Widget w, double x, double y) {
			_children[w] = new ContainerCanvasChild(this, w, (int)x, (int)y);
		}
Ejemplo n.º 4
0
 public void AddWidget(Gtk.Widget w, double x, double y)
 {
     _children[w] = new ContainerCanvasChild(this, w, (int)x, (int)y);
 }