Sha256: 544091b56b5ce3e1417c35c6189984dcb2caf40acf14c18851b0ec24e7e9b1db

Contents?: true

Size: 393 Bytes

Versions: 101

Compression:

Stored size: 393 Bytes

Contents

class Gdk::EventButton
  def initialize(eventtype)
    if Gtk.takeob
      @ob = Gtk.takeob
      Gtk.takeob = nil
    else
      splitted = self.class.to_s.split("::")
      classname =  splitted[splitted.length - 1]
      class_spawn = Gtk.evalob("org.gnome.gdk." + classname)
      #@ob = class_spawn.new
    end
  end
  
  def button
    return 2
  end
  
  def time
    return 0
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

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