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.29 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.28 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.27 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.26 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.25 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.24 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.23 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.22 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.21 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.20 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.19 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.18 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.17 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.16 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.15 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.14 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.13 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.12 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.11 lib/knj/jruby-gtk2/eventbutton.rb
knjrbfw-0.0.10 lib/knj/jruby-gtk2/eventbutton.rb