class GObject::ParamSpecPool

Overview

A #GParamSpecPool maintains a collection of #GParamSpecs which can be quickly accessed by owner and name.

The implementation of the #GObject property system uses such a pool to store the #GParamSpecs of the properties all object types.

Defined in:

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

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def insert(pspec : GObject::ParamSpec, owner_type : UInt64) : Nil #

[View source]
def list(owner_type : UInt64) : Enumerable(GObject::ParamSpec) #

[View source]
def list_owned(owner_type : UInt64) : GLib::List #

[View source]
def lookup(param_name : String, owner_type : UInt64, walk_ancestors : Bool) : GObject::ParamSpec | Nil #

[View source]
def remove(pspec : GObject::ParamSpec) : Nil #

[View source]
def to_unsafe : Pointer(Void) #

[View source]