gtk-rs
DISCONTINUED
gtk_liststore_item
Our great sponsors
gtk-rs | gtk_liststore_item | |
---|---|---|
45 | 2 | |
510 | 2 | |
- | - | |
8.6 | 0.0 | |
24 days ago | over 1 year ago | |
Rust | Rust | |
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.
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.
-
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.
-
What are the pros/cons of the best GUI options for a cross platform app in Rust?
Currently, I have narrowed potential libraries to: 1. Flutter 2. FLTK 3. Relm (GTK) 4. iced 5. Slint 6. Imgui, Imgui-rs 7. and gtk-rs
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
and gtk-rs
gtk_liststore_item
-
Gtk4 Tutorial
Gtk-rs is still pretty bare bone.
I tried to do my part by removing boilerplate using macros [1] [2], but it is still complicated to design GTK apps. Even since now, because Glade has been deprecated for GTK4 and no visual editor is available to replace it for now, making developers manually write XML while exploring the sparse documentation. This is a regression for developers' experience.
I am really trying to like GTK after using Qt a lot in the past, but there is just too much effort. Things should be as simple as VB6/WinForms. With no visual GUI editor, I find myself to just write CLI tools in Rust instead of going the extra mile and creating GUIs.
Thanks, it works.
However adding a GtkApplicationWindow and a GtkButton inside of the component tree is not updating the preview area. Adding a know valid GTK3 .ui file [0] does not update the preview area either.
Seems like the "preview" button is also missing from Glade. Oh well, let's edit XML files afterall. :)
[0] https://github.com/MicroJoe/gtk_liststore_item/blob/master/g...
What are some alternatives?
iced - A cross-platform GUI library for Rust, inspired by Elm
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
fltk-rs - Rust bindings for the FLTK GUI library.
gtk4-rs - Rust bindings of GTK 4
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]
Windows UI Library - Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
sciter-sdk - Sciter is an embeddable HTML/CSS/scripting engine
bevy - A refreshingly simple data-driven game engine built in Rust
Gtk4-tutorial - GTK 4 tutorial for beginners
Relm4 - Build truly native applications with ease!
Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.