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 21
def construct?
  flags & 4 != 0
end
construct_only?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 25
def construct_only?
  flags & 8 != 0
end
flags() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 9
def flags
  Lib.g_property_info_get_flags @gobj
end
property_type() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 5
def property_type
  ITypeInfo.wrap(Lib.g_property_info_get_type @gobj)
end
readable?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 13
def readable?
  flags & 1 != 0
end
writeable?() click to toggle source
# File lib/ffi-gobject_introspection/i_property_info.rb, line 17
def writeable?
  flags & 2 != 0
end