Class: GObjectIntrospection::IPropertyInfo
Overview
Wraps a GIPropertyInfo struct. Represents a property of an IObjectInfo or an IInterfaceInfo.
Instance Attribute Summary
Attributes inherited from IBaseInfo
#pointer
Instance Method Summary
collapse
#getter_name, #setter_name
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
#construct? ⇒ Boolean
23
24
25
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 23
def construct?
flags[:construct]
end
|
#construct_only? ⇒ Boolean
27
28
29
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 27
def construct_only?
flags[:construct_only]
end
|
#flags ⇒ Object
11
12
13
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 11
def flags
@flags ||= Lib.g_property_info_get_flags self
end
|
#property_type ⇒ Object
7
8
9
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 7
def property_type
@property_type ||= ITypeInfo.wrap Lib.g_property_info_get_type(self)
end
|
#readable? ⇒ Boolean
15
16
17
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 15
def readable?
flags[:readable]
end
|
#writeable? ⇒ Boolean
19
20
21
|
# File 'lib/ffi-gobject_introspection/i_property_info.rb', line 19
def writeable?
flags[:writable]
end
|