Constructs a dsdl2.Window from a vanilla SDL_Window* from bindbc-sdl
Creates an SDL-handled window from a native pointer handle of the OS, which wraps SDL_CreateWindowFrom
Creates a window on the desktop placed at a coordinate in the screen, which wraps SDL_CreateWindow
Wraps SDL_GetWindowFlags to check whether the window allows high DPI (from SDL 2.0.1)
Wraps SDL_GetWindowFlags to check whether the window is always on top (from SDL 2.0.5)
Wraps SDL_GetWindowFlags to check whether the borders of the window are visible
Wraps SDL_SetWindowBordered which sets whether the borders' visibility
Wraps SDL_GetWindowFlags to check whether the borders of the window are non-existent
Wraps SDL_GetWindowBrightness which gets the window's brightness value
Wraps SDL_SetWindowBrightness which sets the window's brightness value
Wraps SDL_GetWindowDisplayIndex which gets the display where the center of the window is located
Wraps SDL_GetWindowDisplayMode which gets the window's display mode attributes
Wraps SDL_SetWindowDisplayMode which sets new display mode attributes to the window
Wraps SDL_GL_GetDrawableSize (from SDL 2.0.1) which gets the drawable width of the window in OpenGL in pixels
Wraps SDL_GL_GetDrawableSize (from SDL 2.0.1) which gets the drawable size of the window in OpenGL in pixels
Wraps SDL_GL_GetDrawableSize (from SDL 2.0.1) which gets the drawable height of the window in OpenGL in pixels
Wraps SDL_FlashWindow (from SDL 2.0.16) which flashes the window in the desktop environment
Wraps SDL_SetWindowInputFocus (from SDL 2.0.5) which focuses the window to be in reach to the user
Wraps SDL_GetWindowFlags to check whether the window is foreign
Wraps SDL_GetWindowFlags to check whether the window is in real fullscreen
Wraps SDL_SetWindowFullscreen which sets the fullscreen mode of the window
Wraps SDL_GetWindowFlags to check whether the window is in desktop fullscreen
Wraps SDL_IsScreenKeyboardShown which checks whether the screen keyboard is shown on the window
Wraps SDL_HasWindowSurface (from SDL 2.28) which checks whether there is a surface associated with the window
Wraps SDL_GetWindowSize which gets the height of the window in pixels
Wraps SDL_SetWindowSize which resizes the height of the window in pixels
Wraps SDL_GetWindowFlags to check whether the window is hidden
Wraps SDL_HideWindow which sets the window to be invisible in the desktop environment
Wraps SDL_GetWindowICCProfile (from SDL 2.0.18) which gets the raw ICC profile data for the screen the window is currently on
Wraps SDL_SetWindowIcon which sets a new icon to the window
Wraps SDL_GetWindowID which gets the internal window ID of the dsdl2.Window
Wraps SDL_GetWindowGrab which gets the window's input grab mode
Wraps SDL_SetWindowGrab which sets the window's input grab mode
Wraps SDL_GetKeyboardFocus which verifies whether keyboard input is focused to the window
Wraps SDL_GetWindowKeyboardGrab (from SDL 2.0.16) which gets the status of the window grabbing onto keyboard input
Wraps SDL_SetWindowKeyboardGrab (from SDL 2.0.16) which sets the status of the window grabbing onto keyboard input
Wraps SDL_MaximizeWindow which maximizes the window in the desktop environment
Wraps SDL_GetWindowFlags to check whether the window is maximized
Wraps SDL_GetWindowMaximumSize which gets the maximum size in pixels that the window can be resized to
Wraps SDL_SetWindowMaximumSize which sets the maximum size in pixels that the window can be resized to
Wraps SDL_GetWindowFlags to check whether the window utilizes Metal (from SDL 2.0.6)
Wraps SDL_MinimizeWindow which minimizes the window in the desktop environment
Wraps SDL_GetWindowFlags to check whether the window is minimized
Wraps SDL_GetWindowMinimumSize which gets the minimum size in pixels that the window can be resized to
Wraps SDL_SetWindowMinimumSize which sets the minimum size in pixels that the window can be resized to
Wraps SDL_SetWindowModalFor (from SDL 2.0.5) which sets the window to be a modal of another parent window, making the window always be above its parent window
Wraps SDL_GetMouseFocus which verifies whether mouse input is focused to the window
Wraps SDL_GetWindowMouseGrab (from SDL 2.0.16) which gets the status of the window grabbing onto mouse input
Wraps SDL_SetWindowMouseGrab (from SDL 2.0.16) which sets the status of the window grabbing onto mouse input
Wraps SDL_GetMouseState which gets the mouse position in the window
Wraps SDL_WarpMouseInWindow which sets the mouse position in the window
Wraps SDL_GetWindowMouseRect (from SDL 2.0.18) which gets the window's mouse confinement rectangle
Wraps SDL_SetWindowMouseRect (from SDL 2.0.18) which sets the window's mouse confinement rectangle
Acts as SDL_SetWindowMouseRect(window, NULL) (from SDL 2.0.18) which resets the window's mouse confinement rectangle
Wraps SDL_SetWindowMouseRect (from SDL 2.0.18) which sets or resets the window's mouse confinement rectangle
Wraps SDL_SetWindowAlwaysOnTop (from SDL 2.0.16) which sets the status of the window always being on top above other windows
Equality operator overload
Wraps SDL_GetWindowOpacity (from SDL 2.0.5) which gets the opacity of the window
Wraps SDL_SetWindowOpacity (from SDL 2.0.5) which sets the opacity of the window
Wraps SDL_GetWindowFlags to check whether the window utilizes OpenGL
Gets the dsdl2.PixelFormat used for pixel data of the window
Wraps SDL_GetWindowFlags to check whether the window is treated as a popup menu (from SDL 2.0.5)
Wraps SDL_GetWindowPosition which gets the top-left coordinate position of the window in the desktop environment
Wraps SDL_SetWindowPosition which sets the position of the window in the desktop environment
Wraps SDL_RaiseWindow which raises the window above other windows, and sets input focus to the window
Wraps SDL_GetRenderer which gets the renderer of the window
Wraps SDL_GetWindowFlags to check whether the window's size is resizable by the user
Wraps SDL_SetWindowResizable (from SDL 2.0.5) which sets the window's resizability
Wraps SDL_RestoreWindow which restores the size and position of the window as it was originally
Wraps SDL_ShowWindow which sets the window to be visible in the desktop environment
Wraps SDL_GetWindowFlags to check whether the window is shown
Wraps SDL_GetWindowSize which gets the size of the window in pixels
Wraps SDL_SetWindowSize which resizes the size of the window in pixels
Wraps SDL_GetWindowSizeInPixels (from SDL 2.26) which gets the actual size of the window in the screen in pixels
Wraps SDL_GetWindowFlags to check whether the window is not on the taskbar (from SDL 2.0.5)
Wraps SDL_GetWindowSurface which gets the window's surface for software rendering
Wraps SDL_DestroyWindowSurface (from SDL 2.28) which destructs the underlying associated surface of the window
Wraps SDL_GL_SwapWindow which updates the window with any OpenGL changes
Wraps SDL_GetWindowTitle which gets the shown title of the window
Wraps SDL_SetWindowTitle which sets a new title to the window
Gets the hash of the dsdl2.Window
Formats the dsdl2.Window into its construction representation: "dsdl2.Window(<sdlWindow>)"
Wraps SDL_GetWindowFlags to check whether the window is treated as a tooltip window (from SDL 2.0.5)
Wraps SDL_UpdateWindowSurface which makes the changes to the window's surface current
Wraps SDL_UpdateWindowSurfaceRects which makes the changes of certain parts of the window surface as defined by a list of dsdl2.Rects current
Wraps SDL_GetWindowFlags to check whether the window is treated as a utility window (from SDL 2.0.5)
Wraps SDL_GetWindowFlags to check whether the window utilizes Vulkan (from SDL 2.0.6)
Wraps SDL_GetWindowSize which gets the width of the window in pixels
Wraps SDL_SetWindowSize which resizes the width of the window in pixels
Wraps SDL_GetWindowPosition which gets the top-left X coordinate position of the window in the desktop environment
Wraps SDL_SetWindowPosition which sets the X position of the window in the desktop environment
Wraps SDL_GetWindowPosition which gets the top-left Y coordinate position of the window in the desktop environment
Wraps SDL_SetWindowPosition which sets the Y position of the window in the desktop environment
Internal SDL_Window pointer
D class that wraps SDL_Window managing a window instance specific to the OS
dsdl2.Window provides access to creating windows and managing them for rendering. Internally, SDL uses OS functions to summon the window.