Does any one have any prior experience with making gtk3 apps with Ruby, and the bindings to the apis for ruby (GObject etc)?

2 Answers 2


This GitHub repository gives you some basic examples on how to build a GTK app using Ruby. This is example #2 being run:


  • 1
    I see that. I'm just wondering how I can use granite in my code. I also found this github.com/mvz/gir_ffi Sep 26, 2017 at 16:52
  • There's also this + this.
    – Fultie
    Sep 26, 2017 at 18:31
  • Thanks. It appears that FFI performs the best. I'm not sure how far the deviation from vala is but it's better than just using Rubyinline which you might as well you C then. Sounds do able. If I make an app with ruby and gtk3 I'll make a blog post about it somewhere. Sep 26, 2017 at 19:01
  • Keep me posted!
    – Fultie
    Sep 26, 2017 at 19:19

Try finding a IRC channel of Ruby, that's the way I do when I program on vala

  • I went to the ruby IRC and they said I shouldn't make gtk3 native apps :) They weren't very helpful. Sep 26, 2017 at 17:08
  • @notmyrealname hmmm, maybe try on Reddit Sep 27, 2017 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.