Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateWindowOptions

import type { CreateWindowOptions } from "https://raw.githubusercontent.com/deno-windowing/dwm/main/mod.ts";
interface CreateWindowOptions {
autoExitEventLoop?: boolean;
floating?: boolean;
focused?: boolean;
gles?: boolean;
glVersion?: [number, number] | string;
height?: number;
maximized?: boolean;
minimized?: boolean;
noClientAPI?: boolean;
removeDecorations?: boolean;
resizable?: boolean;
title?: string;
transparent?: boolean;
visible?: boolean;
vsync?: boolean;
width?: number;
}

§Properties

§
autoExitEventLoop?: boolean
[src]

Whether event loop should exit when window is closed. Defaults to true. Only works for non-child windows.

§
floating?: boolean
[src]

Whether the window is a floating window/ topmost window

§
focused?: boolean
[src]

Whether the window is focused

§
gles?: boolean
[src]

Should GLES be used (only for OpenGL)

§
glVersion?: [number, number] | string
[src]

Which GL version to use

§
height?: number
[src]

Window's height

§
maximized?: boolean
[src]

Whether the window is maximized

§
minimized?: boolean
[src]

Whether the window is minimized

§
noClientAPI?: boolean
[src]

Whether to not use any Client API.

§
removeDecorations?: boolean
[src]

Remove decorations from the window (title, frame, etc)

§
resizable?: boolean
[src]

Whether the window is resizable

§
title?: string
[src]

Title of the window

§
transparent?: boolean
[src]

Whether the window should be transparent

§
visible?: boolean
[src]

Window's visibility

§
vsync?: boolean
[src]

Whether to limit the number of frames per second (only for OpenGL)

§
width?: number
[src]

Window's width