gtk-rs

Rust bindings for GTK 3 (by gtk-rs)

Gtk-rs Alternatives

Similar projects and alternatives to gtk-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better gtk-rs alternative or higher similarity.

gtk-rs reviews and mentions

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 2022-09-12.
  • My university teacher wants to torture me with .NET Core & VS2022
    3 projects | reddit.com/r/linux | 12 Sep 2022
    The [gtk-rs](https://gtk-rs.org/) project provides GTK bindings for Rust.
  • Is there any way to interop with JS in Zig/RS/C/C++?
    4 projects | reddit.com/r/rust | 10 Sep 2022
    For an Electron-like framework, try Tauri. Qt Quick also uses an ECMAScript dialect named QML on the frontend and you could use QMetaObject to embed a QWebEngine instance and run regular JavaScript in it via WebView.runJavaScript. Another option for a similar result would be to use gtk-rs's binding to webkit2gtk.
  • Elementary OS – Why we write elementary apps in Vala
    4 projects | news.ycombinator.com | 9 Sep 2022
    Elementary is heavily dependent on the GTK ecosystem, which has its own OOP system implemented in C (for example like GObject). It is really hard to map GTK's OOP semantics to Rust. People have tried things like https://github.com/gtk-rs/gtk3-rs, but it requires heavy macro usage and doesn't feel like ergonomic Rust. On the other hand Vala is directly built upon the GObject system on the first place, so it's more fitting for GTK-specific development.
  • UI Framework
    2 projects | reddit.com/r/rust | 31 Aug 2022
    Most Rust frameworks are pretty new and unstable. gtk-rs is probably the most stable. For a full native rust experience, druid and Slint are probably the most feature-full, though I don't think they're "productions ready"
  • The state of Rust GUI libraries
    9 projects | dev.to | 17 Aug 2022
    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.
  • Is it conveninent to make cross-platform GUI softwares using Rust now?
    6 projects | reddit.com/r/rust | 31 Jul 2022
    I've got some good experience with https://gtk-rs.org/ but it won't target your cell phone
  • Going all-in on Rust
    4 projects | reddit.com/r/rust | 27 Jul 2022
    As someone else who has been moving away from Python for the better compile-time guarantees, the faster startup time for little CLI tools, and the easier deployment, I have to say that, unless you're willing to foist gtk-rs GUIs on people, which feel increasingly alien outside the GNOME desktop environment on Linux, or use something kind of primitive like fltk or egui, you'll still need a scripting language for GUI frontend development be it something like JavaScript/TypeScript with Tauri, QML (also an ECMAScript dialect) with a Qt Quick 2 wrapper like qmetaobject (Note that my experience has been that it's hard to keep a Qt Quick 2 UI from feeling like a reskinned mobile app), or using PyO3 with PyQt or PySide to write a QWidget-based frontend for Rust in a manner similar to how you use QML to write a Qt Quick 2 frontend for C++ or Rust or Python or whatever else.
  • What do people use rust for?
    10 projects | reddit.com/r/rust | 21 Jul 2022
    Producing bindings to existing cross-platform GUI toolkits like Qt is hard work for a young language (I use PyO3 and PyQt or PySide to set up a "frontend in Python, backend in Rust" configuration when I need QWidget GUIs, similar to how you have to use Qt's QML ECMAScript dialect for the frontend if you want to write a Qt Quick GUI, regardless of the host language. You can use gtk-rs for GTK, but the GTK devs seem determined to unofficially deprecate using it to make applications that don't follow GNOME's increasingly alien-feeling HIG by neglecting that use-case and tying any attempts to catch up with Qt's level of convenience to libadwaita. That said, Microsoft does provide official bindings for WinAPI if you want to write something Windows-only, there are also equivalent crates for Apple APIs, and you can use Tauri if you want an Electron-like solution. See Are We GUI Yet? for more.)
  • Hey! Learning my first programming language and wanted some information.
    21 projects | reddit.com/r/rust | 19 May 2022
    GUI libraries expose giant, complex APIs that take a lot of time and effort to write bindings for, so the main mature, portable, non-web offering for Rust right now is gtk-rs (because they'd already put a lot of work into the GObject Introspection system for making bindings easier), which looks ugly/strange outside GNOME and can be a hassle to compile and distribute outside Linux.
  • What's everyone working on this week (16/2022)?
    10 projects | reddit.com/r/rust | 18 Apr 2022
    I'm using gtk-rs and Relm4 to build it.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Nov 2022
    InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code. Learn more →

Stats

Basic gtk-rs repo stats
28
420
8.8
1 day ago
Close all those tabs. Zigi will handle your updates.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai