Function Window.display

Wraps SDL_GetWindowDisplayIndex which gets the display where the center of the window is located

const(Display) display() @property @trusted const;

Returns

dsdl2.Display of the display the window is located

Throws

dsdl2.SDLException if failed to get the display