class GObjectIntrospection::ArgInfo

Public Instance Methods

gclosure?() click to toggle source
# File lib/gobject-introspection/arg-info.rb, line 19
def gclosure?
  type_info = type
  return false if type_info.tag != TypeTag::INTERFACE

  struct_info = type_info.interface
  struct_info.gtype.name == "GClosure"
end