u/AlbertShown88in r/C_Programming • Recommends
Did you hear about using a web browser as GUI using C99?
Borislav Stanimirov explained at C++ Conference 2019 how beneficial it is to use the web browser as GUI.
The result is pretty good! Take a look at the implementation in the WebUI open-source project.
// WebUI Minimal Example
// https://github.com/webui-dev/webui
#include "webui.h"
void my_function(webui_event_t* e) {
// The button MyID gets clicked!
}
int main() {
int my_window = webui_new_window();
webui_bind(my_window, "MyID", my_function);
webui_show(my_window, "<html>...</html>");
webui_wait();
return 0;
}