class GObjectIntrospection::IPropertyInfo
Wraps a GIPropertyInfo struct. Represents a property of an IObjectInfo
or an IInterfaceInfo
.
Public Instance Methods
Source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 23 def construct? flags[:construct] end
Source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 27 def construct_only? flags[:construct_only] end
Source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 11 def flags @flags ||= Lib.g_property_info_get_flags self end
Source
# 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
Source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 15 def readable? flags[:readable] end
Source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 19 def writeable? flags[:writable] end