Class: GObjectIntrospection::IRegisteredTypeInfo

Inherits:
IBaseInfo
  • Object
show all
Defined in:
lib/ffi-gobject_introspection/i_registered_type_info.rb

Overview

Wraps a GIRegisteredTypeInfo struct. Represents a registered type.

Instance Method Summary collapse

Methods inherited from IBaseInfo

#==, #attribute, build_array_method, build_finder_method, #container, #deprecated?, #info_type, #initialize, make_finalizer, #name, #namespace, #safe_namespace, #to_ptr, wrap

Constructor Details

This class inherits a constructor from GObjectIntrospection::IBaseInfo

Instance Method Details

#g_typeObject Also known as: gtype



14
15
16
# File 'lib/ffi-gobject_introspection/i_registered_type_info.rb', line 14

def g_type
  Lib.g_registered_type_info_get_g_type @gobj
end

#type_initObject



10
11
12
# File 'lib/ffi-gobject_introspection/i_registered_type_info.rb', line 10

def type_init
  Lib.g_registered_type_info_get_type_init @gobj
end

#type_nameObject



6
7
8
# File 'lib/ffi-gobject_introspection/i_registered_type_info.rb', line 6

def type_name
  Lib.g_registered_type_info_get_type_name @gobj
end