window-get-client-width

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

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