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