Termux:GUI C/C++ Bindings
|
This file contains all functions related to event control. More...
#include "types.h"
Go to the source code of this file.
Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
This file contains all functions related to event control.
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.
c | The connection to use. |
a | The Activity the View is in. |
v | The View. |
send | Set to true if you want to get the event, false if not. |
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.
c | The connection to use. |
a | The Activity the View is in. |
v | The View. |
send | Set to true if you want to get the event, false if not. |
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.
c | The connection to use. |
a | The Activity the View is in. |
v | The View. |
send | Set to true if you want to get the event, false if not. |
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.
c | The connection to use. |
a | The Activity the View is in. |
v | The View. |
send | Set to true if you want to get the event, false if not. |
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.
c | The connection to use. |
a | The Activity the View is in. |
v | The View. |
send | Set to true if you want to get the event, false if not. |
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.
c | The connection to use. |
a | The overlay Activity. |
send | Set to true if you want to get the event, false if not. |