Sha256: 3e4302f0b41e23c11c7312f4431da59b49a36afc976cd4050025c06a778086e4

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 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

4 entries across 4 versions & 1 rubygems

Version Path
knjrbfw-0.0.8 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.7 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.4 lib/knj/jruby-gtk2/progressbar.rb
knjrbfw-0.0.3 lib/knj/jruby-gtk2/progressbar.rb