3 ms·
libui only wraps around GTK+ on Unix systems. On Windows, it uses the native Windows API directly. GLib is a utility library; it provides things like container
by andlabs 10y ago
libui only wraps around GTK+ on Unix systems. On Windows, it uses the native Windows API directly.
GLib is a utility library; it provides things like container types, filesystem access, networking utilities, threads, object-oriented programming with events and properties, and other similar functions in a platform-independent manner. GTK+ uses GLib. You can use GLib on its own as well. It won't solve the problem of GTK+ being clunky on Windows, though.
- rer 10y agoWhat I don't get is: which library lets you draw stuff on the screen. GLib or GTK+? I thought that was GLib, and GTK+ was using GLib to implement controls. Which library does one need to build their own controls?