Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

imgui_touch

imgui_touch: a touch screen for Dear ImGui, as on a phone: the swipe, the long press, the pinch, the phone’s keyboard. Set it up once, after imgui.create_context(): imgui_touch.setup(). An app run by Hello ImGui needs no call (its setting: hello_imgui.RunnerParams.touch_config).

Upstream repository · The book’s page

Modules

In imgui_bundle (from imgui_bundle import imgui_touch):

Demos using it

The demos of the catalog that use it (the pictures link to their code and to the playground).

Touch screens (phones, tablets)

Touch screens (phones, tablets)

On a phone, a tablet or a touch laptop: a swipe, a tap, a long press, a pinch, the keyboard.

More

Hello ImGui turns a finger into what its user expects: a swipe scrolls, a tap clicks, a held finger opens a context menu, a pinch scales the app (its font) or zooms a plot, an image or a node editor, two fingers pan, and a keyboard button appears next to a text field.

Uses: ImPlot, ImmVision, ImGuiTouch

Python: ▶︎ Run · Code
C++: ▶︎ Run · Code

ImGuiTouch: the interactive manual

ImGuiTouch: the interactive manual

ImGuiTouch: touch screen utilities for Dear ImGui.

More

The swipe, the long press, the pinch, the phone’s keyboard: its demo, section by section, with the code of each beside it, in Python and C++. From Dear ImGui Explorer, the interactive manual for Dear ImGui and its libraries.

Uses: ImGuiTouch

Python: ▶︎ Run · Code
C++: ▶︎ Run · Code