Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 internal override void RestorePosition(DockToolbarFrame frame, DockToolbar bar)
 {
     frame.FloatBar (bar, orientation, x, y);
 }
Ejemplo n.º 3
0
 internal override void RestorePosition(DockToolbarFrame frame, DockToolbar bar)
 {
     frame.FloatBar(bar, orientation, x, y);
 }