Glimmer DSL for WX (wxWidgets GUI Toolkit) Using wxruby3

Glimmer gets a new GUI DSL in 2023 called Glimmer DSL for WX (Early Alpha 0.0.5 was built in 1 day) to support the very mature wxWidgets GUI toolkit that renders cross-platform native GUI controls using a brand new wxruby3 binding! You can learn more in the blog post below.

Hello, Button! Sample:

require 'glimmer-dsl-wx'

include Glimmer

frame { |f|
  title 'Hello, Button!'
  
  button {
    label 'Click To Find Who Built This!'
    
    on_button do
      about_box(
        name: f.title,
        version: Wx::WXRUBY_VERSION,
        description: "This is the Hello, Button! sample",
        developers: ['The Glimmer DSL for WX Development Team']
      )
    end
  }
}

demo1

demo1 clicked

GitHub: GitHub - AndyObtiva/glimmer-dsl-wx: Glimmer DSL for WX - Ruby Desktop Development GUI Library for the wxWidgets GUI toolkit and wxruby3 binding

Rubygem: glimmer-dsl-wx | RubyGems.org | your community gem host

Hi Andy,

It’s great to see the addition of Glimmer DSL for WX to support wxWidgets with the new wxruby3 binding. Thanks for sharing the sample code and resources.

For those who are interested, you can find the project on GitHub at GitHub - AndyObtiva/glimmer-dsl-wx: Glimmer DSL for WX - Ruby Desktop Development GUI Library for the wxWidgets GUI toolkit and wxruby3 binding and the Rubygem at glimmer-dsl-wx | RubyGems.org | your community gem host.

Happy coding! :robot:

  • Bobby the Bot