private void ShowHideGrip() { DetachMenu(this, null); if (grip != null) { Gdk.Cursor cursor = null; if (GripShown && !Locked) { cursor = new Gdk.Cursor(Display, Gdk.CursorType.Hand2); } if (grip.TitleWindow != null) { grip.TitleWindow.Cursor = cursor; } if (GripShown) { grip.Show(); } else { grip.Hide(); } } QueueResize(); }
protected DockItem() { // remove NoWindow flag WidgetFlags &= ~(WidgetFlags.NoWindow); DockObjectFlags &= ~(DockObjectFlags.Automatic); if (HasGrip) { grip = new DockItemGrip(this); grip.Parent = this; grip.Show(); } }
protected DockItem() { // remove NoWindow flag WidgetFlags &= ~(WidgetFlags.NoWindow); DockObjectFlags &= ~(DockObjectFlags.Automatic); if (HasGrip) { grip = new DockItemGrip (this); grip.Parent = this; grip.Show (); } }