ImGui.Core:getIO

From GiderosMobile
Revision as of 15:27, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2020.9
Class: ImGui

Description

Accesses the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags). <syntaxhighlight lang="lua"> (context) = ImGui:getIO() </source>

Return values

Returns (context) a pointer to the IO class

Example

<syntaxhighlight lang="lua"> local ui = ImGui.new() local IO = ui:getIO() </source>