Relm4
Build truly native applications with ease! (by Relm4)
Gtk4-tutorial
GTK 4 tutorial for beginners (by ToshioCP)
Our great sponsors
Relm4 | Gtk4-tutorial | |
---|---|---|
23 | 11 | |
1,300 | 520 | |
5.0% | - | |
8.9 | 6.0 | |
25 days ago | 3 months ago | |
Rust | C | |
Apache License 2.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Relm4
Posts with mentions or reviews of Relm4.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-27.
-
Writing Gnome Apps with Swift
There is Relm (https://relm4.org/). Which is in Rust is just GTK (through it's Rust bindings) with a nice reactivity layer on top.
-
Resources for learning to write ui files for GTK4
I’d recommend you checking out https://relm4.org if you know a little Rust. Relm4 is currently the easiest and most intuitive way to write GTK
-
[media] Czkawka 6.0 - File cleaner, now finds similar audio files by content, files by size and name and fix and speedup similar images search
Relm4 might make your migration easier. It has factories which make it easy to create lists (both sync and async) and recently added TypedListView as another useful abstraction over pure gtk-rs. There is a lot of potential in Rust + GTK, you just have to find idiomatic abstractions.
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
Did you try Relm? It's an implementation is the elm architecture (think react) on top of Gtk. Given your experience with Gtk it might suit you really well, as you can even take only parts of it and continue using bare Gtk for the rest. Give it a try!
- Native App Development
-
GUI development with Rust and GTK 4
What about relm4? Is it generally feature complete? Can one use relm4 for most things, and drop to gtk4 for the oddball task that is not supported?
-
Newbie needs help with Relm4 errors. On Kubuntu
Using this example: https://github.com/Relm4/Relm4/blob/main/examples/simple.rs
-
Forte! A new way of writing Gtk apps for GNOME.
What advantage would this Rust crate have over Relm4? It seems pretty similar to me, save for the property based syntax that Forte has, instead of the set_* ones used on Relm4.
-
Need guidance for developping GTK4 + Libwaita apps
If you like Rust I recommend Relm4, one of the best experiences I’ve had with a framework tbh, be sure to learn gtk-rs first.
- Rust: State of GUI, December 2022 – KAS blog
Gtk4-tutorial
Posts with mentions or reviews of Gtk4-tutorial.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-22.
-
Trying to get started (noob)
What's going on? I googled some more and found out from here that I have to use G_APPLICATION_FLAGS_NONE because ubuntu uses an older version of Glib-2.0 and im getting even more confused, if im trying to learn gtk how do i know in advance what i should even learn and what isn't going to work on my machine?
- Is it worth to develop GNOME applications to learn/improve programming skills?
-
Learning GTK4 for ui development
try https://github.com/ToshioCP/Gtk4-tutorial/
-
Gtk4: How to implement an "Edit" menu with cut/copy/paste functions?
The problem is, how do you setup a top-level window "edit" menu that contextually supports these actions for whatever widget is focused. I honestly can't find any example. See this for example: https://github.com/ToshioCP/Gtk4-tutorial/blob/20b4a16175ae3f510151702c8a377b63547b13d8/src/menu3/menu3.c
-
Not-gtk GUI Libs/frameworks for plain C
have you tried this? https://github.com/ToshioCP/Gtk4-tutorial also https://github.com/frang75/nappgui is very interesting and promising.
- What is the preferred way to design gtk guis for gtk4.x ?
-
Embedding themes into application
I've been getting into GTK using ToshioCP's gtk4 tutorial but one thing that bothers me is the different looks on Windows. I've found some themes that could fix it, but I haven't figured out how I could embed my own theme + icons (.css file & subfolders with .SVG icons) into the application.
- Gtk4 Tutorial (mainly for beginners)
- Gtk4 Tutorial
-
Do you know any good recourses for learning GTK (and glib, gobject, gio)?
But after trying to follow along with the official documentation for glib I realized it's all a bit to complicated for me, and I'm really struggling to follow along with it (f*ck you ADHD). I then found a different tutorial that seems to be a bit more handholding and easier to follow along with, but my issue with that is that it doesn't cover glib and gobject, instead it just requires me to copy the code without understanding whenever any gobject related topics appear. I then found a book that fits my needs perfectly, but that is incomplete and as the book itself states it is far from finished, and from what I understand the creator gave up on it in 2019.
What are some alternatives?
When comparing Relm4 and Gtk4-tutorial you can also consider the following projects:
gtk4-rs - Rust bindings of GTK 4
glib-gtk-book - The GLib/GTK Development Platform – A Getting Started Guide
dispatch-proxy - Combine internet connections, increase your download speed
nappgui - Cross-Platform C SDK (precompiled)
gtk-rs - Rust bindings for GTK 3
gtk-rs-core - Rust bindings for GNOME libraries
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
Relm4 - An idiomatic GUI library inspired by Elm and based on gtk4-rs [Moved to: https://github.com/Relm4/Relm4]
owlkettle - A declarative user interface framework based on GTK 4
druid - A data-first Rust-native UI design toolkit.
libui-ng - libui-ng: a portable GUI library for C. "libui for the next generation"