Open rubyFeedback opened 3 years ago
Hello,
I attempted to run the code using gtk3 and observed the the following error:
no such signal: expose-event (GLib::NoSignalError)
I found this Gtk3 tutorial for ruby to be helpful. Having successfully executed the hello world application it's possible to delve further.
A few years ago I switched to using Ruby2d which makes cross-platform 2d applications. I then applied the SVG code to the r2dsvg gem. Here's an example Viewing coloured shapes using the experimental r2dsvg gem.
I still use gtk2svg for a popup notifier application. There's not as much GTK3 documentation for Ruby, that's my biggest issue.
Hey jrobertson,
Have you tried to get this to work on ruby-gtk3?
It should be possible; I am myself currently rewriting a lot of ruby-gtk2 code. Wonder if this library could be more generalized. I haven't yet had the idea to embed SVG graphics - that is actually useful! We can re-use lots of SVG graphics in ruby-gtk. Hard to find ruby-gtk related projects these days. :(