Exemplo n.º 1
0
 public void RemoveTopLevelWidget(Gtk.Widget w)
 {
     foreach (TopLevelChild info in topLevels)
     {
         if (info.Child == w)
         {
             w.Unparent();
             topLevels.Remove(info);
             break;
         }
     }
 }
Exemplo n.º 2
0
        protected override void OnRemoved(Gtk.Widget widget)
        {
            int r;
            int c;

            if (IndexOf(widget, out r, out c))
            {
                widget.Unparent();
                d_children[r, c] = null;

                Compact();
            }
        }
Exemplo n.º 3
0
        protected override void OnRemoved(Gtk.Widget widget)
        {
            LayoutChild child = null;

            foreach (var c in children)
            {
                if (child.Widget == widget)
                {
                    child = c;
                    break;
                }
            }

            if (child != null)
            {
                widget.Unparent();
                children.Remove(child);
            }
        }
Exemplo n.º 4
0
 protected override void OnRemoved(Gtk.Widget widget)
 {
     children.Remove(widget);
     widget.Unparent();
 }