Sha256: f40377829ad0cd1278a411b8dcf0cba94bcca5e171f9307542bab85128662292

Contents?: true

Size: 290 Bytes

Versions: 101

Compression:

Stored size: 290 Bytes

Contents

class Gtk::ProgressBar
  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
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.94 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.93 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.92 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.91 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.90 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.89 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.88 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.87 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.86 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.85 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.84 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.83 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.82 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.81 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.80 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.79 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.78 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.77 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.75 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.74 lib/knj/jruby-gtk2/progressbar.rb