Sha256: a8c0c05d2fb4545c17f2bf352815de61c302d945ea317c972e06f57c9895b76f
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true GObject.load_class :ObjectClass module GObject # Overrides for GObjectClass, a struct containing GObject's class data class ObjectClass def set_property=(callback) @struct[:set_property] = GObject::ObjectSetPropertyFunc.from callback end def get_property=(callback) @struct[:get_property] = GObject::ObjectGetPropertyFunc.from callback end def gtype to_ptr.get_gtype 0 end end end
Version data entries
6 entries across 6 versions & 1 rubygems