Termux:GUI C/C++ Bindings
Loading...
Searching...
No Matches
events.h
Go to the documentation of this file.
1#pragma once
2
3
11#include "types.h"
12
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18
19
20
39
58
77
96
115
132
133
134
135
136
137
138#ifdef __cplusplus
139}
140#endif
tgui_err tgui_send_overlay_touch_event(tgui_connection c, tgui_activity a, bool send)
Sets whether overlay touch events are send for an Activity.
tgui_err tgui_send_text_event(tgui_connection c, tgui_activity a, tgui_view v, bool send)
Sets whether text events are send for a View.
tgui_err tgui_send_focus_change_event(tgui_connection c, tgui_activity a, tgui_view v, bool send)
Sets whether focus change events are send for a View.
tgui_err tgui_send_touch_event(tgui_connection c, tgui_activity a, tgui_view v, bool send)
Sets whether touch events are send for a View.
tgui_err tgui_send_click_event(tgui_connection c, tgui_activity a, tgui_view v, bool send)
Sets whether click events are send for a View.
tgui_err tgui_send_long_click_event(tgui_connection c, tgui_activity a, tgui_view v, bool send)
Sets whether long click events are send for a View.
This file contains the types used for all the functions.
struct tgui_connection_ * tgui_connection
Represents a connection to the Termux:GUI plugin.
Definition: types.h:27
int32_t tgui_activity
Represents an Android Activity.
Definition: types.h:34
int32_t tgui_view
Represents an Android View.
Definition: types.h:48
tgui_err
Status codes for all functions in the library.
Definition: types.h:77