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); }
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); }
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; }