Forum: Ruby-Gnome 2 Can't Override Widget class in Gtk3

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric C. (Guest)
on 2016-05-04 03:33

I'm working on an upgrade to visualruby that uses gtk3!

However, I've run into a few problems.

In my first version of visualruby, I added to the Gtk::Widget class:

Module Gtk

  class Widget

Howver, with gtk 3 I get this error/warning, and the class is not

warning: already initialized constant Gtk::Widget
warning: previous definition of Widget was here

How do I override the Widget class?

Thanks for all your great work!

This topic is locked and can not be replied to.