Class: GObjectIntrospection::IInterfaceInfo
Overview
Wraps a IInterfaceInfo struct. Represents an interface.
Instance Attribute Summary
Attributes inherited from IBaseInfo
#pointer
Instance Method Summary
collapse
#g_type, #type_init, #type_name
#full_name
#safe_name
#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
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_methods ⇒ Object
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_struct ⇒ Object
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_constants ⇒ Object
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_prerequisites ⇒ Object
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_properties ⇒ Object
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_signals ⇒ Object
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_vfuncs ⇒ Object
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
|