Termux:GUI C/C++ Bindings
|
This is the C API of the library.
For an introduction in how the use the API, see the Tutorial.
More...
#include "types.h"
#include "connection.h"
#include "activity.h"
#include "create.h"
#include "views.h"
#include "webview.h"
#include "remote.h"
#include "notification.h"
#include "events.h"
#include "hardware_buffer.h"
Go to the source code of this file.
This is the C API of the library.
For an introduction in how the use the API, see the Tutorial.
Functions return an error code. If the code is <= 0, the operation was a success and the out parameters are valid. For codes > 0, the out parameters have to be treated as invalid.
Functions that get only value types, a tgui_connection or const pointers can be called concurrently. Functions that get mutable pointers to different memory locations can be called concurrently. One exception is tgui_connection_destroy, make sure no other thread uses the connection before calling.
See the included headers for documentation of the related functions.