window-get-client-height

long ( window-get-client-height long window-id)

Gets the client height (space available for child windows) of the window.