From: Bandi-T <ba...@su...> - 2021-10-22 22:13:46
|
Greetings, What is the status of GTK4 support (under Windows)? I get an error very early: > irb(main):002:0> app = Gtk::App.new > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/builder.rb:148:in > `alias_method': undefined method `connect_signals' for class > `Gtk::Builder' (NameError) > Did you mean? connect_signal > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/builder.rb:148:in > `<class:Builder>' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/builder.rb:18:in > `<module:Gtk>' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/builder.rb:17:in > `<top (required)>' > from > <internal:C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in > `require' > from > <internal:C:/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in > `require' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/loader.rb:57:in > `require_libraries' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/loader.rb:52:in > `post_load' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gobject-introspection-3.4.9/lib/gobject-introspection/loader.rb:45:in > `load' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4/loader.rb:26:in > `load' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4.rb:65:in `init' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/gtk4-3.4.9/lib/gtk4.rb:40:in > `const_missing' > from (irb):2:in `<main>' > from > C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/irb-1.3.5/exe/irb:11:in `<top > (required)>' > from C:/Ruby30-x64/bin/irb.cmd:31:in `load' > from C:/Ruby30-x64/bin/irb.cmd:31:in `<main>' This is Ruby 3.0.2 installed by RubInstaller on Windows (x64-mingw32). I am just starting to learn GTK for some UI apps I need to develop, never developed with GTK before (especially not under Windows). I hope this is only my mistake and this is supposed to work. Thank you in advance. |