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
tgui_err tgui_webview_go_forward(tgui_connection c, tgui_activity a, tgui_view v)
Goes forward to the next page.
tgui_err tgui_webview_allow_content_uri(tgui_connection c, tgui_activity a, tgui_view v, bool allow)
Sets whether the WebView is allowed to load content URIs.
tgui_err tgui_webview_allow_navigation(tgui_connection c, tgui_activity a, tgui_view v, bool allow)
By default the user cannot navigate to other pages in the WebView. This can enable navigation.
tgui_err tgui_webview_allow_javascript(tgui_connection c, tgui_activity a, tgui_view v, bool allow)
Sets whether Javascript execution is allowed in a WebView. The user is asked for confirmation to enab...
tgui_err tgui_webview_go_back(tgui_connection c, tgui_activity a, tgui_view v)
Goes back to the last page.
tgui_err tgui_webview_set_data(tgui_connection c, tgui_activity a, tgui_view v, const char *data, const char *mime)
Sets the displayed data of a WebView.
tgui_err tgui_webview_eval_js(tgui_connection c, tgui_activity a, tgui_view v, const char *source)
Allows you to execute Javascript inside the WebView.
tgui_err tgui_webview_load_uri(tgui_connection c, tgui_activity a, tgui_view v, const char *uri)
Loads content from a URI.