示例#1
0
        internal DockBarItem AddItem(DockItem item, int size)
        {
            DockBarItem it = new DockBarItem(this, item, size);

            box.PackStart(it, false, false, 0);
            it.ShowAll();
            UpdateVisibility();
            it.Shown  += OnItemVisibilityChanged;
            it.Hidden += OnItemVisibilityChanged;
            return(it);
        }
示例#2
0
        internal DockBarItem AddItem(DockItem item, int size)
        {
            DisableHoverActivation();
            DockBarItem it = new DockBarItem(this, item, size);

            box.PackStart(it, false, false, 0);
            it.ShowAll();
            UpdateVisibility();
            it.Shown  += OnItemVisibilityShown;
            it.Hidden += OnItemVisibilityHidden;
            return(it);
        }
示例#3
0
		internal DockBarItem AddItem (DockItem item, int size)
		{
			DisableHoverActivation ();
			DockBarItem it = new DockBarItem (this, item, size);
			box.PackStart (it, false, false, 0);
			it.ShowAll ();
			UpdateVisibility ();
			it.Shown += OnItemVisibilityChanged;
			it.Hidden += OnItemVisibilityChanged;
			return it;
		}