Erstellen  Editieren  FrontPage  Index  Suchen  Veränderungen  Verlauf  RSS  Login


class Gtk::Bin

The Gtk::Bin widget is a container with just one child. It is not very useful itself, but it is useful for deriving subclasses, since it provides common code needed for handling a single child widget.

Many Ruby/GTK widgets are subclasses of Gtk::Bin, including Gtk::Window, Gtk::Button, Gtk::Frame, Gtk::HandleBox, and Gtk::ScrolledWindow.

Instance Methods

Gets the child of the Gtk::Bin, or nil if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.


  • 2007-01-31 Update to GTK+-2.10. - Masao?

- Masao?