Sha256: 94884f41a0cc6ecd56104bf193fd1914a3544a0bc8976b2b01e64fe3f62d0fbb
Contents?: true
Size: 357 Bytes
Versions: 4
Compression:
Stored size: 357 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
4 entries across 4 versions & 1 rubygems