class GObject::Parameter

Overview

The GParameter struct is an auxiliary structure used to hand parameter name/value pairs to g_object_newv().

Defined in:

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

Constructors

Instance Method Summary

Constructor Detail

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

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

def self.new(value : GObject::Value? = 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 name : String? #

def name! #

def to_unsafe #

def value : GObject::Value #

def value=(value : GObject::Value) #