Window.display

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

class Window
const @property @trusted
const(Display)
display
()

Return Value

Type: const(Display)

dsdl2.Display of the display the window is located

Throws

dsdl2.SDLException if failed to get the display

Meta