Sha256: 0e5b0a7ce2a690ecaca288ac8a9bf23adb8e5b7426f36b222584f494f32719a9
Contents?: true
Size: 755 Bytes
Versions: 6
Compression:
Stored size: 755 Bytes
Contents
module GObjectIntrospection # Wraps a GIEnumInfo struct if it represents an enum. # If it represents a flag, an IFlagsInfo object is used instead. class IEnumInfo < IRegisteredTypeInfo def n_values Lib.g_enum_info_get_n_values @gobj end def value(index) IValueInfo.wrap(Lib.g_enum_info_get_value @gobj, index) end ## build_array_method :values def get_n_methods Lib.g_enum_info_get_n_methods @gobj end def get_method(index) IFunctionInfo.wrap(Lib.g_enum_info_get_method @gobj, index) end ## build_array_method :get_methods build_finder_method :find_method, :get_n_methods, :get_method def storage_type Lib.g_enum_info_get_storage_type @gobj end end end
Version data entries
6 entries across 6 versions & 1 rubygems