Class: GObjectIntrospection::IInterfaceInfo

Inherits:
IRegisteredTypeInfo show all
Defined in:
lib/ffi-gobject_introspection/i_interface_info.rb

Overview

Wraps a IInterfaceInfo struct. Represents an interface.

Instance Attribute Summary

Attributes inherited from IBaseInfo

#pointer

Instance Method Summary collapse

Methods inherited from IRegisteredTypeInfo

#g_type, #type_init, #type_name

Methods included from GirFFI::InfoExt::FullTypeName

#full_name

Methods included from GirFFI::InfoExt::SafeConstantName

#safe_name

Methods included from GirFFI::InfoExt::IRegisteredTypeInfo

#find_instance_method, #to_callback_ffi_type, #to_ffi_type, #to_type

Methods inherited from IBaseInfo

#==, #attribute, build_array_method, build_finder_method, #container, #deprecated?, #info_type, #initialize, make_finalizer, #name, #namespace, #safe_namespace, #to_ptr, wrap

Constructor Details

This class inherits a constructor from GObjectIntrospection::IBaseInfo

Instance Method Details

#constant(index) ⇒ Object



76
77
78
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 76

def constant(index)
  IConstantInfo.wrap Lib.g_interface_info_get_constant(self, index)
end

#find_method(name) ⇒ Object



41
42
43
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 41

def find_method(name)
  IFunctionInfo.wrap Lib.g_interface_info_find_method(self, name.to_s)
end

#find_vfunc(name) ⇒ Object



68
69
70
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 68

def find_vfunc(name)
  IVFuncInfo.wrap Lib.g_interface_info_find_vfunc(self, name)
end

#get_method(index) ⇒ Object



34
35
36
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 34

def get_method(index)
  IFunctionInfo.wrap Lib.g_interface_info_get_method(self, index)
end

#get_n_methodsObject



30
31
32
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 30

def get_n_methods
  Lib.g_interface_info_get_n_methods self
end

#iface_structObject



83
84
85
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 83

def iface_struct
  @iface_struct ||= IStructInfo.wrap Lib.g_interface_info_get_iface_struct(self)
end

#n_constantsObject



72
73
74
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 72

def n_constants
  Lib.g_interface_info_get_n_constants self
end

#n_prerequisitesObject



7
8
9
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 7

def n_prerequisites
  Lib.g_interface_info_get_n_prerequisites self
end

#n_propertiesObject



18
19
20
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 18

def n_properties
  Lib.g_interface_info_get_n_properties self
end

#n_signalsObject



45
46
47
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 45

def n_signals
  Lib.g_interface_info_get_n_signals self
end

#n_vfuncsObject



57
58
59
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 57

def n_vfuncs
  Lib.g_interface_info_get_n_vfuncs self
end

#prerequisite(index) ⇒ Object



11
12
13
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 11

def prerequisite(index)
  IBaseInfo.wrap Lib.g_interface_info_get_prerequisite(self, index)
end

#property(index) ⇒ Object



22
23
24
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 22

def property(index)
  IPropertyInfo.wrap Lib.g_interface_info_get_property(self, index)
end

#signal(index) ⇒ Object



49
50
51
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 49

def signal(index)
  ISignalInfo.wrap Lib.g_interface_info_get_signal(self, index)
end

#vfunc(index) ⇒ Object



61
62
63
# File 'lib/ffi-gobject_introspection/i_interface_info.rb', line 61

def vfunc(index)
  IVFuncInfo.wrap Lib.g_interface_info_get_vfunc(self, index)
end