6.2. Widgets Without Windows

The following widgets do not have an associated window. If you want to capture events, you will have to use the Gtk::EventBox. See the section on the Gtk::EventBox widget for further details.

We'll further our exploration of Ruby-GNOME2 by examining each widget in turn, creating a few simple methods to display them. Another good source is the testgtk.rb program that comes with Ruby-GNOME2. It can be found in gtk/sample/testgtk/testgtk.rb.


Prev Next