class GObject::TypeQuery

Overview

A structure holding information for a specific type.

See also: g_type_query()

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/type_query.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibGObject::TypeQuery, transfer : GICrystal::Transfer) #

def self.new(type : UInt64? = nil, class_size : UInt32? = nil, instance_size : UInt32? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def class_size : UInt32 #

def class_size=(value : UInt32) #

def instance_size : UInt32 #

def instance_size=(value : UInt32) #

def to_unsafe #

def type : UInt64 #

def type=(value : UInt64) #

def type_name : String? #

def type_name! #