gtk4-rs
Slint
Our great sponsors
gtk4-rs | Slint | |
---|---|---|
22 | 60 | |
1,651 | 3,094 | |
3.5% | - | |
9.5 | 9.9 | |
8 days ago | about 2 years ago | |
Rust | Rust, C++, JavaScript | |
MIT License | 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.
gtk4-rs
-
Integrate with Skia GL
The only example that shedded some light on the integration was gtk4 + femtovg. So I mimicked the example, using gtk4-rs and Skia's rust bindings. I had some code similar to the following inside a subclass of GLArea to setup Skia's DirectContext, but it failed:
-
error[E0432]: unresolved import `gtk::FileDialog`
Hi, I am studying gtk4 with rust, now trying to check examples from https://github.com/gtk-rs/gtk4-rs/tree/master/examples some of them are building and compiling but text_viewer(cargo run --bin text_viewer) and some others are failing with the error below
-
How do I use ColumnView ?
I created a demo of using column view in gtk4-rs rust here...maybe be a point of reference https://github.com/gtk-rs/gtk4-rs/tree/master/examples/column_view_datagrid
- GUI development with Rust and GTK 4
-
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).
-
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)
-
GTK4 + Rust + GLArea: How do I set the opengl version?
I've been following this example to get something that works for whatever the default opengl context version is, however, I can't figure out how to request a specific opengl version on context creation: https://github.com/gtk-rs/gtk4-rs/tree/master/examples/glium_gl_area
-
Rust for Linux can be compiled with GCC codegen(only few hacks are needed)
gtk4-rs itself feels like it takes very little time to build: https://github.com/gtk-rs/gtk4-rs but when you add up all the time to building all examples afterwards, it's about the same and provides the equivalent of capabilities of QT(C++ and RUST) so yes it's going to take time to build.
-
The state of Rust GUI libraries
The gtk-rs project provides safe Rust bindings for GNOME stack-based libraries, like the GTK 3 and GTK 4 libraries. The gtk3-rs and gtk4-rs libraries provides GTK 3 and GTK 4 functionalities, respectively.
-
Any good resources for using Rust with GTK4 and Libadwaita?
Check out the examples in the gtk4-rs repository.
Slint
-
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?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
iced - A cross-platform GUI library for Rust, inspired by Elm
fltk-rs - Rust bindings for the FLTK GUI library.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
cef - Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development
gtk-rs - Rust bindings for GTK 3
druid - A data-first Rust-native UI design toolkit.
Relm4 - Build truly native applications with ease!
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies