gtk-rs
areweguiyet
Our great sponsors
gtk-rs | areweguiyet | |
---|---|---|
45 | 31 | |
510 | 386 | |
- | 2.1% | |
8.6 | 8.1 | |
about 2 months ago | 3 days ago | |
Rust | HTML | |
MIT License | Apache License 2.0 |
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
-
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.
areweguiyet
-
How to write a QML effect for KWin
The organization behind QT (QT Group) has pretty onerous licensing terms.
My understanding is that it's $3,950 per year just to develop using their libraries on your own computer if you ever in the future intend to commercialize a product using QT. Transitioning from the open source license to the commercial license is something you can do but it's not the happy path and their FAQ seems to indicate that it comes with some sort of penalty.
https://www.qt.io/pricing
Something like Slint (Rust based but includes CPP and JS bindings) is not as comprehensive (yet) but it's more modern and the licensing terms are significantly more in line with software industry norms.
GPUI from Zed is also something to monitor: https://www.gpui.rs/
Also, in general you can find an extensive list of Rust-based native UI libraries here: https://areweguiyet.com/
- Rust for Embedded Systems: Current State, Challenges and Open Problems
-
The KDE desktop gets an overhaul with Plasma 6
I would suggest that nearly every person on this website is a developer. Both C and C++ let you shoot yourself in the foot quite easily, but at least C++ has RAII.
If you're referring to Rust, it's just not there yet for anything serious: https://areweguiyet.com/
-
Ask HN: Rust Viable for Data Analytics?
I normally use python to do some quick data analysis, with pandas/polars/pyspark/...
But I've started to use rust more and more in the last few weeks and really start to like it.
Does anyone have experience doing data analysis with rust, and would you recommend it over python?
And are there any resources like https://areweguiyet.com/ but for data analysis?
- The state of building user interfaces in Rust
-
On inheritance and why it's good Rust doesn't have it
You still haven't said anything about why those existing frameworks don't count. Again, they are used in production and do exactly what a gui framework is supposed to do. Sure they may not have all the features of the frameworks that have existed a decade before rust even existed but the issue is time not rust itself. They very clearly can be used to build complex UI without inheritance. Since you mentioned it, you should probably actually look at it https://areweguiyet.com/ the page clearly says that GUI frameworks do exist in rust.
-
BeeWare Toga v0.4.0 – A Python native, OS native GUI toolkit
The web site https://areweguiyet.com/ has a list of GUI libraries for Rust.
I haven’t tried any yet as I lack the time, but it can be a good starting point.
Iced and Slint where interesting when I looked at that, and Slint may be done by former Qt developers.
-
Learn graphics for theoretical gui with rust
I also hope that it is consistent with the goals mentioned at https://areweguiyet.com/
- What crate/library to use for a GUI ?
- Are We <Thing> Yet?
What are some alternatives?
iced - A cross-platform GUI library for Rust, inspired by Elm
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]
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
bonsai - A library for building dynamic webapps, using Js_of_ocaml
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
vgtk - A declarative desktop UI framework for Rust built on GTK and Gtk-rs
fltk-rs - Rust bindings for the FLTK GUI library.
piet - An abstraction for 2D graphics.
gtk4-rs - Rust bindings of GTK 4
imgui-rs - Rust bindings for Dear ImGui
libui-rs - Rust bindings to the minimalist, native, cross-platform UI toolkit `libui`