예제 #1
0
        void FloatBar(DockToolbar bar, int x, int y)
        {
            if (bar.Floating)
            {
                return;
            }

            int wx, wy, w, h;

            PanelToWindow(x, y, GetChildWidth(bar), bar.DefaultHeight, out x, out y, out w, out h);

            this.GdkWindow.GetOrigin(out wx, out wy);
            RemoveBar(bar);
            parentFrame.FloatBar(bar, orientation, wx + x, wy + y);
        }
예제 #2
0
 internal override void RestorePosition(DockToolbarFrame frame, DockToolbar bar)
 {
     frame.FloatBar (bar, orientation, x, y);
 }
예제 #3
0
 internal override void RestorePosition(DockToolbarFrame frame, DockToolbar bar)
 {
     frame.FloatBar(bar, orientation, x, y);
 }