Icuwebview - (odin-webui alternative) using wry and tao rust port

Since I couldn’t find anything matching my needs, I decided to make my own.
Here is the github: https://github.com/icumessi/icuwebview/tree/main

I used tao and wry in rust, then created functions which allow for easier creation of UI’s.
The module is a .dll which can be easily imported into another language.
In order to do this, I recommend reading the readme.

API endpoints (theres more, check the actual .odin code for the full list):

void* create(bool debug, void* window)
int destroy(void* w)
int run(void* w)
int terminate(void* w)
bool is_running()
bool is_visible(void* w)
int set_title(char* title, void* w)
int set_size(int w, int h, int hints, void* w)
int set_position(int x, int y, void* w)
int set_resizable(bool v, void* w)
int set_frameless(bool v, void* w)
int set_timeout(uint32 s, void* w)
int set_swipe_navigation(bool enabled, void* w)
int show(void* w)
int hide(void* w)
int navigate(char* url, void* w)
int set_html(char* html, void* w)
int eval(char* js, void* w)
char* eval_result(char* js, void* w) // caller must free with free_string()
int init(char* js, void* w)
bool wait_for_page_load(uint32 timeout_ms, void* w)
int webview_bind(char* name, void (cb)(char seq, char* req, void* arg), void* arg, bool stay_on_reload, void* w)
int unbind(char* name, void* w)
int return_val(char* seq, char* result, int status, void* w)
void wait_until_closed()
void set_data_dir(char* path)
void free_string(char* s)
void* get_window(void* w)
intptr get_hwnd(void* w)
// Note: bind is exported as “webview_bind” to avoid a Winsock name clash.
// Hints enum: None=0 Min=1 Max=2 Fixed=3