Skip to main content

overwolf.windows.getWindow

Overwolf APIs / overwolf / overwolf / windows / getWindow

function getWindow(
windowName: string,
callback: CallbackFunction<WindowResult>,
): void;

Returns WindowResult object for a specific open window.

Parameters

ParameterTypeDescription
windowNamestringThe name of the window that was declared in the data.windows section in the manifest
callbackCallbackFunction<WindowResult>Callback will be invoked with the WindowResult object.

Returns

void