예제 #1
0
        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();
        }
예제 #2
0
        protected DockItem()
        {
            // remove NoWindow flag
            WidgetFlags     &= ~(WidgetFlags.NoWindow);
            DockObjectFlags &= ~(DockObjectFlags.Automatic);

            if (HasGrip)
            {
                grip        = new DockItemGrip(this);
                grip.Parent = this;
                grip.Show();
            }
        }
예제 #3
0
        protected DockItem()
        {
            // remove NoWindow flag
            WidgetFlags &= ~(WidgetFlags.NoWindow);
            DockObjectFlags &= ~(DockObjectFlags.Automatic);

            if (HasGrip) {
                grip = new DockItemGrip (this);
                grip.Parent = this;
                grip.Show ();
            }
        }