gtk-rs
Rust bindings for GTK 3 (by gtk-rs)
Slint
Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint] (by sixtyfpsui)
Our great sponsors
gtk-rs | Slint | |
---|---|---|
45 | 60 | |
510 | 3,094 | |
- | - | |
8.6 | 9.9 | |
about 2 months ago | about 2 years ago | |
Rust | Rust, C++, JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
gtk-rs
Posts with mentions or reviews of gtk-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-04.
-
Counter App with GTK4 and Rust
gtk-rs
-
Rust GUI Development?
GTK: I have little - no experience with GTK, and from what i have read it is cross-platform similar to wxWidgets, however is an emulated UI system similar to Qt. As i have no experience with it i am not sure how well supported this library is as far as it's Rust - bindings are concerned gtk-rs
-
gtk-rs: can't get window ID with command inside connect_show or connect_realize
In a gtk-rs application, I'm running a xdotool command to get the id of the application's window. I'm running the command in a connect_show closure (after the window has been shown):
-
My (challenging) experience building a window switcher for Ubuntu
To build the UI, I used gtk-rs. My experience with this library was quite pleasant; it was easy to use and there were a lot of examples. However, it isn't as widely used as, say, React, so it was difficult to find answer on Stack Overflow (I come from a JavaScript/Typescript background).
-
x11rs can't access window created with gtk-rs
I'm using x11rb to interact with a window created with gtk-rs. window_id is the ID of the window created with gtk-rs. window_id_2 is the ID of the window created with x11rb (for testing purposes).
-
What GUI libs are out there and good to use?
I haven't used it yet, but gtk-rs looks pretty good too. I've used GTK in general, just not the Rust bindings so far. The tutorials seem nice and GTK is a good UI toolkit overall.
-
gtk-rs: triggering code after the window has been shown
I'm using gtk-rs. I want to trigger some code after the window has been shown (has displayed on the screen):
-
Adding ListBoxRow to ListBox from inside a closure
I'm using gtk-rs to add ListBoxRow items to a ListBox. The items are successfully added if I do it outside of input.connect_changed, a closure. But nothing is added if I do it from inside input.connect_changed:
-
Who "owns" Rust ?
For GTK, there's https://gtk-rs.org/
-
gtk-ks: Join the Effort to create GTK Bindings for Kotlin!
Out there there are already some open source projects trying to do this, but most of them are abandoned or in a very alpha stage. The most promising project so far seems to me git-kt. This project is trying to do something similar to what gtk-rs does for Rust, which is using GObject Introspection (GIR) files to generate Kotlin native bindings automatically.
Slint
Posts with mentions or reviews of Slint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-17.
-
Slint VS slint - a user suggested alternative
2 projects | 17 Oct 2023
-
Will Qt support the Rust language by default? (just curiosity)
As an anecdote, the three top contributors to sixtyfps are ex-Qt people. I think it is not anecdotal that there is at least some degree of overlap and competition between Rust and C++, and that this is a market that surely The Qt Company is watching.
-
BeeWare – write Python, run as native everywhere
SixtyFPS (https://sixtyfps.io/) is in progress for Rust, but it is still early days. It also does not technically use a native toolkit (it uses Qt), but I believe that might be on roadmap. For traditional GUI apps, I think the lack of a table or tree widget is the most limiting for the time being. They have stated they intend to remedy that.
-
What are the best GUI libraries for a potentially “serious”/large project?
The most promising GUI hasn't been posted here, SixtyFPS. It's in it's early stages and not FOSS, but it's built by some ex-QT cats and has a lot of potential.
-
Is there a reliable and documented GUI library out there?
People have been recommending https://sixtyfps.io/ to me.
- Images in sixtyfps
-
Is it worth writing a GUI toolkit in Rust?
There is already a project to make a Qt like GUI toolkit in Rust: https://sixtyfps.io/ It is really similar to Qt https://sixtyfps.io/releases/0.1.5/docs/rust/sixtyfps/index.html
-
Tauri – Electron alternative written in Rust
People are doing that too. https://sixtyfps.io/ is basically a Qt clone in Rust, actually developed by previous Qt developers.
-
I'm giving out microgrants to open source projects for the third year in a row! Brag about your projects here so I can see them, big or small!
spdlog, a pretty useful and more and more commonly used logging library for C++.\ SixtyFPS, an emerging GUI library for Rust, but you can use it in multiple languages. It uses OpenGL or Qt currently as backend (well, it's a new library and they wanted two from the get-go to make sure their abstractions are done right/well enough). They started a company this year for it too.
-
Why I choose Electron even when I wanted to use QT
Just so some are not aware, there's a new project called sixtyfps by some people who were in the Qt world for long. I didn't take a deep dive into it but it looks promising.
What are some alternatives?
When comparing gtk-rs and Slint you can also consider the following projects:
iced - A cross-platform GUI library for Rust, inspired by Elm
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
fltk-rs - Rust bindings for the FLTK GUI library.
FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
gtk4-rs - Rust bindings of GTK 4
druid - A data-first Rust-native UI design toolkit.
Windows UI Library - Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications