Best way to get a window's dimensions and position

Reading the docs, I could find two ways to get a window’s dimensions (or properties in general): and

Is there a recommended way to get a window’s properties (one of the above or maybe a third one)?

Specifically, something which reliably gives me the window’s height, width, top and left properties, right after it was moved and/or resized via and/or

Top and left relative to a game window of course.


PS: it’d be nice if and/or callbacks returned the window’s new (top, left) and (width, height) respectivelly (or maybe a reference to the entire window object with the updated values).


I will answer your questions later today. Thanks.

Friendly reminder :slight_smile:.