Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dwm/ext/imgui.ts>imgui.setNextWindowPos

Deno Window Manager: Cross-platform window creation and management
Go to Latest
function imgui.setNextWindowPos
import { imgui } from "https://deno.land/x/dwm@0.3.4/ext/imgui.ts";
const { setNextWindowPos } = imgui;

set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.

Parameters

pos: ImVec2
optional
cond: ImGuiCond = [UNSUPPORTED]
optional
pivot = [UNSUPPORTED]