Esempio n. 1
0
        protected override void OnParentSet(Gtk.Widget parent)
        {
            base.OnParentSet(parent);

            if (Parent != null)
            {
                if (ParentWindow != null)
                {
                    box.ParentWindow = ParentWindow;
                }
                box.Parent = Parent;
                box.Show();
            }
            else
            {
                box.Unparent();
            }
        }
    protected override void OnParentSet (Gtk.Widget parent)
    {
        base.OnParentSet (parent);

        if (Parent != null)
        {
            if (ParentWindow != null)
                box.ParentWindow = ParentWindow;
            box.Parent = Parent;
            box.Show ();
        }
        else
        {
            box.Unparent ();
            if (EditingDone != null)
                EditingDone (this, EventArgs.Empty);
        }
    }
Esempio n. 3
0
        protected override void OnParentSet(Gtk.Widget parent)
        {
            base.OnParentSet(parent);

            if (Parent != null)
            {
                if (this.ParentWindow != null)
                {
                    box.ParentWindow = this.ParentWindow;
                }
                box.Parent = Parent;
                box.Show();
                ((InternalTree)Parent).Editing = true;
            }
            else
            {
                session.Dispose();
                ((InternalTree)parent).Editing = false;
                box.Unparent();
            }
        }