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 19
def get_method(index)
  IFunctionInfo.wrap(Lib.g_enum_info_get_method @gobj, index)
end
get_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 24
build_array_method :get_methods
get_n_methods() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 15
def get_n_methods
  Lib.g_enum_info_get_n_methods @gobj
end
n_values() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 5
def n_values
  Lib.g_enum_info_get_n_values @gobj
end
storage_type() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 27
def storage_type
  Lib.g_enum_info_get_storage_type @gobj
end
value(index) click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 9
def value(index)
  IValueInfo.wrap(Lib.g_enum_info_get_value @gobj, index)
end
values() click to toggle source
# File lib/ffi-gobject_introspection/i_enum_info.rb, line 13
build_array_method :values