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.pushButtonRepeat

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

in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.

Parameters

repeat: boolean