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

Instance Method Detail

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

def list(owner_type : UInt64) : Enumerable(GObject::ParamSpec) #

def list_owned(owner_type : UInt64) : GLib::List #

def lookup(param_name : String, owner_type : UInt64, walk_ancestors : Bool) : GObject::ParamSpec? #

def remove(pspec : GObject::ParamSpec) : Nil #

def to_unsafe : Pointer(Void) #