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

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

flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)

Parameters

str_id: StringSource
size: ImVec2
optional
flags: ImGuiButtonFlags = [UNSUPPORTED]

Returns

boolean