internal void SetAutoHideMode (Gtk.PositionType pos, int size)
{
ResetMode ();
if (widget != null) {
widget.Hide (); // Avoids size allocation warning
if (widget.Parent != null) {
((Gtk.Container)widget.Parent).Remove (widget);
}
}
dockBarItem = frame.BarDock (pos, this, size);
if (titleTab != null)
titleTab.UpdateBehavior ();
SetRegionStyle (frame.GetRegionStyleForItem (this));
}