PyCControlBar.CalcFixedLayout

int = CalcFixedLayout(bStretch, bHorz )

Calculates the horizontal size of a control bar

Parameters

bStretch : int

Indicates whether the bar should be stretched to the size of the frame. The bStretch parameter is nonzero when the bar is not a docking bar (not available for docking) and is 0 when it is docked or floating (available for docking).

bHorz : int

Indicates that the bar is horizontally or vertically oriented.