Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dwm/src/platform/glfw/window.ts>WindowGlfw

Deno Window Manager: Cross-platform window creation and management
Go to Latest
class WindowGlfw
extends DwmWindow
import { WindowGlfw } from "https://deno.land/x/dwm@0.2.0/src/platform/glfw/window.ts";

Constructors

new
WindowGlfw(options?: CreateWindowOptions)

Properties

_inputState: Record<string, any>
readonly
closed
readonly
contentScale
focused: boolean
readonly
framebufferSize
readonly
frameSize
readonly
fullScreen
maximized: boolean
minimized: boolean
readonly
nativeHandle
readonly
noClientAPI
opacity: number
position: Position
readonly
shouldClose
size: Size
title
visible: boolean

Methods

getMonitor(): DwmMonitor | undefined
setAspectRatio(numerator: number, denominator: number)
setCursor(icon?: CursorIcon | undefined)
setMonitor(
monitor?: DwmMonitor,
x?: number,
y?: number,
width?: number,
height?: number,
refreshRate?: number,
)
setSizeLimits(
minWidth: number,
minHeight: number,
maxWidth: number,
maxHeight: number,
)