Relm4
tealr
Our great sponsors
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
-
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.
-
[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?
-
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
-
Are there any good UI/GUI libraries out there?
There are good GTK bindings for Rust (https://github.com/gtk-rs/gtk4-rs and https://github.com/Relm4/Relm4)
-
Hey Rustaceans! Got a question? Ask here! (43/2022)!
Hey all. This one's been a pain for me, so sorry if this is confusing. For some context, I'm following off the Relm4 simple example.
tealr
-
What's everyone working on this week (28/2022)?
working more on tealr more specifically tealr_doc_gen
-
What's everyone working on this week (25/2022)?
Fixing some short comings in tealr that people discovered. Also, making hv_lua work with tealr and ideally start adding that fishfight.
-
Announcing mlua 0.8.0-beta with Roblox Luau support
Fantastic! Very happy to see this move forward at such a fast pace. We’re implementing scripting in Fish Fight via the tealr crate, which wraps mlua (and rlua).
-
Man, I love this language.
Hopefully the last hand on https://github.com/lenscas/tealr for a new release. Mostly going over the documentation. Laying less emphasis on teal and more on "Hey, using this you can express a more typesafe api to lua and can actually easily document it.".
-
What's everyone working on this week (7/2022)?
tealr, my wrapper around rlua and mlua to focus on (among other things) being better able to describe your api in the form of types: Getting it to a point to release a new version. Which is all about allowing people to document they API that they created for lua/teal. This documentation gets written to the definition files when generating them. In addition, you can also ask tealr to generate a instance.help(page:Option) method on your types. When doing this, the documentation gets made available through this function. By default it prints out "type level" documentation for this type, as well as what other pages are availalbe. When given a string, it shows the documentation for that page instead. Pages that belong to methods also automatically include the type signature.
-
What's everyone working on this week (33/2021)?
This requires some new features in my Rust <-> Teal FFI library tealr https://github.com/lenscas/tealr which is now also close to getting a new release, with the only thing I want to do is fix how its TypedFunction work (right now, it always contains a lua function, even if it was made inside of Rust, which puts some needless limits on it).
-
What's everyone working on this week (29/2021)?
After that it is time to finish mlua support for tealr . As well as making it better at dealing with api's like tealsql has made.
-
rust-analyzer changelog #69
Can you try removing the println! at https://github.com/lenscas/tealr/blob/cee2363a14c53b995a69efb2b4cbd84010905276/tealr_derive/src/lib.rs#L155?
let me try to restart my laptop (lets see if that fixes stuff), but so far the query! macro from sqlx and the embed_compiler macro from tealr_derive( (https://github.com/lenscas/tealr/blob/cee2363a14c53b995a69efb2b4cbd84010905276/tealr_derive/src/lib.rs#L242 ) get this error.
What are some alternatives?
gtk4-rs - Rust bindings of GTK 4
Gtk4-tutorial - GTK 4 tutorial for beginners
dispatch-proxy - Combine internet connections, increase your download speed
gtk-rs - Rust bindings for GTK 3
dioxus - Fullstack GUI library for desktop, web, mobile, and more.
owlkettle - A declarative user interface framework based on GTK 4
Relm4 - An idiomatic GUI library inspired by Elm and based on gtk4-rs [Moved to: https://github.com/Relm4/Relm4]
druid - A data-first Rust-native UI design toolkit.
iced - A cross-platform GUI library for Rust, inspired by Elm
koto - A simple, expressive, embeddable programming language, made with Rust
gtk-rs-core - Rust bindings for GNOME libraries
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.