class GObjectIntrospection::IEnumInfo

Wraps a GIEnumInfo struct if it represents an enum. If it represents a flag, an IFlagsInfo object is used instead.

Public Instance Methods

get_method(index) click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 22
def get_method(index)
  IFunctionInfo.wrap Lib.g_enum_info_get_method(self, index)
end
get_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 27
build_array_method :get_methods
get_n_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 18
def get_n_methods
  Lib.g_enum_info_get_n_methods self
end
n_values() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 7
def n_values
  Lib.g_enum_info_get_n_values self
end
storage_type() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 30
def storage_type
  Lib.g_enum_info_get_storage_type self
end
value(index) click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 11
def value(index)
  IValueInfo.wrap Lib.g_enum_info_get_value(self, index)
end
values() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 15
build_array_method :values