Difference between revisions of "ImGui.Core:getIO"

From GiderosMobile
m (MoKaLux moved page ImGui:getIO to ImGui.Core:getIO)
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Accesses the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags).
 
Accesses the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(context) = ImGui:getIO()
 
(context) = ImGui:getIO()
 
</source>
 
</source>
Line 13: Line 13:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
local ui = ImGui.new()  
 
local ui = ImGui.new()  
 
local IO = ui:getIO()
 
local IO = ui:getIO()

Revision as of 15:27, 13 July 2023

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>