Giter VIP home page Giter VIP logo

Comments (2)

AndyObtiva avatar AndyObtiva commented on May 27, 2024

Thank you for the suggestion.

By the way, Glimmer DSL for SWT already relies on GTK in Linux and I believe Glimmer DSL for LibUI relies on GTK for Linux too.

Still, it seems that GTK has very big fans who want to build Linux-only GUI in CRuby, and given that SWT runs on JRuby and LibUI is very minimal in its features, there would be value in supporting GTK directly with Glimmer.

I added Glimmer DSL for GTK to TODO.md

I will close this issue once I've made a first gem release of it (e.g. 0.0.1) after I've completed work on Glimmer DSL for Tk.

One question I have for you: do you think it is OK to skip GTK2/GTK3 and immediately support the new GTK4 with Glimmer DSL for GTK? It seems GTK2 and GTK3 already have a lot of helpful gems in Ruby (like your gem gtk_paradise if I'm not wrong about you being its author), but GTK4 could benefit most from a Glimmer DSL since it is new and as of today does not have any supporting Ruby gems yet.

from glimmer.

AndyObtiva avatar AndyObtiva commented on May 27, 2024

0.0.1 is implemented and released: https://rubygems.org/gems/glimmer-dsl-gtk

Here is the project page:
https://github.com/AndyObtiva/glimmer-dsl-gtk

I focused on supporting what you mentioned:

  • Gtk::Window
  • Gtk::Button
  • Gtk::Entry
  • Gtk::Box (:horizontal and :vertical)

But, also due to Glimmer's dynamic nature, it supports all GTK widgets, properties, and signals that conform to the general GTK conventions.

Thank you again for suggesting this and cheers!

p.s. I built it with gtk3 at the moment because the Ruby gtk4 gem currently has issues. Once gtk4 issues are sorted out, I will switch to supporting it instead.

from glimmer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.