Sha256: a9c07cf3ba435e3f70a825b79bf5ecc370a7bb522e7b0cf079f1c8a9b2d7f406

Contents?: true

Size: 293 Bytes

Versions: 101

Compression:

Stored size: 293 Bytes

Contents

class Gtk::VBox
  def initialize
    if Gtk.takeob
      @ob = Gtk.takeob
      Gtk.takeob = nil
    else
      splitted = self.class.to_s.split("::")
      javaname = "org.gnome." + splitted.first.downcase + "." + splitted.last
      @ob = Gtk.evalob(javaname).new(false, 0)
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.9 lib/knj/jruby-gtk2/vbox.rb