Sha256: bb3e23390bd7676cfc5ffadad693b2e0c2dbad47d8be35632224dd832d91851b
Contents?: true
Size: 463 Bytes
Versions: 3
Compression:
Stored size: 463 Bytes
Contents
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 GirFFI::InOutPointer.new(:GType, to_ptr).to_value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.9.2 | lib/ffi-gobject/object_class.rb |
gir_ffi-0.9.1 | lib/ffi-gobject/object_class.rb |
gir_ffi-0.9.0 | lib/ffi-gobject/object_class.rb |