window-parameter

window-parameter is a built-in function in `C source code'.

(window-parameter WINDOW PARAMETER)

Return WINDOW's value for PARAMETER.
WINDOW can be any window and defaults to the selected one.