libui
GTK+
Our great sponsors
libui | GTK+ | |
---|---|---|
22 | 15 | |
10,590 | 1,334 | |
- | 1.7% | |
0.0 | 9.8 | |
over 1 year ago | 7 days ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libui
- BeeWare Toga v0.4.0 – A Python native, OS native GUI toolkit
-
Is there no simple GUI library for pure C?
What about https://github.com/andlabs/libui
-
Capy – Cross-platform library for making true native GUIs in Zig
Fantastic! This is similar to the C library `libui` since it also acts as a wrapper of native libraries of each platform.
If only there was a way to interface to these using some declarative minimal and highly opinionated programming language and paradigm...
-
Mathematical Patterns
For the GUI you will need a library or framework that interacts with your specifiv operating system and allows you to create windows and a canvas to which you can draw. You could give libui a chance.
-
libui-ng-sys: external FFI bindings for libui-ng
libui-ng is a cross-platform GUI library with native widgets written in C. It is based on an earlier, (currently) inactive project known as libui. While Rust bindings for libui have existed for years (see ui-sys and iui), there is no solution for the new libui-ng; libui-ng-sys aims to fill this role.
-
What GUI library should I start with after learning C?
libui
-
Not-gtk GUI Libs/frameworks for plain C
https://github.com/andlabs/libui is very nice, but unfortunately dead, if it serves your purpose consider using it, this is a fork under development https://github.com/libui-ng/libui-ng
-
Ask HN: Is there any cross platform non native GUI written in C that looks good?
https://github.com/andlabs/libui
Better yet, it has excellent DSLs that make it possible to build desktop apps in a way similar to HTML, but much better due to keeping all code dynamic in one language (no static/dynamic multi-language separation/mixing dissonance):
-
Usable cross-platform GUI?
Maybe a module that uses https://github.com/andlabs/libui or a light HTML renderer?
-
Electron Adventures: Episode 82: Glimmer DSL
LibUI is a "portable GUI library for C". It comes with so many disclaimers that it's an incomplete alpha version.
GTK+
-
How many layers of UI inconsistencies are in Windows 11?
GTK and Gnome are almost 25 years old, and they're nowhere as messy as the Windows
-
Change color Adwaita theme
git clone gtk repo, git checkout the gtk-3-24 branch.
- Podman Desktop Companion GUI
-
Trying to learn how to develop applications, stuck because of meson and gschemas.
I'm trying to make a text editor in gtk (yes I know there are already plenty of those, but it is a project to learn, not for actual use), and I got pretty far already I would think. I'm basically following the GTK docs for GTK4 and cross checking them with the examples from the GTK git. However I am stuck on something. The current most state of my program is broken, as I get this error when trying to start the program:
-
Distinguishing between smooth scroll events and regular scroll events
I have never tested that, but according to the code in GDK (X11, Wayland) looks like set_pointer_emulated() is called on compatibility scroll events. Maybe looking through the code may give more insights
Try calling gdk_event_get_pointer_emulated. It's implemented for scroll events, too: https://github.com/GNOME/gtk/blob/master/gdk/gdkevents.c#L874
What are some alternatives?
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
wxWidgets - Cross-Platform C++ GUI Library
gtkmm - Read-only mirror of https://gitlab.gnome.org/GNOME/gtkmm
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
nana - a modern C++ GUI library
ncurses - snapshots of ncurses - see http://invisible-island.net/ncurses/ncurses.faq.html (no pull requests are accepted)
NanoGUI - Minimalistic GUI library for OpenGL