class GObjectIntrospection::IPropertyInfo

Wraps a GIPropertyInfo struct. Represents a property of an IObjectInfo or an IInterfaceInfo.

Public Instance Methods

construct?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 23
def construct?
  flags[:construct]
end
construct_only?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 27
def construct_only?
  flags[:construct_only]
end
flags() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 11
def flags
  @flags ||= Lib.g_property_info_get_flags self
end
property_type() click to toggle 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
readable?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 15
def readable?
  flags[:readable]
end
writeable?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 19
def writeable?
  flags[:writable]
end