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) #

[View source]
def self.new(data : LibGObject::TypeQuery, transfer : GICrystal::Transfer) #

[View source]
def self.new(type : UInt64 | Nil = nil, class_size : UInt32 | Nil = nil, instance_size : UInt32 | Nil = nil) #

[View source]

Instance Method Detail

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

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


[View source]
def class_size : UInt32 #

[View source]
def class_size=(value : UInt32) #

[View source]
def instance_size : UInt32 #

[View source]
def instance_size=(value : UInt32) #

[View source]
def to_unsafe #

[View source]
def type : UInt64 #

[View source]
def type=(value : UInt64) #

[View source]
def type_name : String | Nil #

[View source]
def type_name! #

[View source]