class GObject::Value

Defined in:

lib/gi-crystal/src/bindings/g_object/value.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(value) #

Creates a GValue and initializes it with value.


def self.new #

Creates an unitialized GValue.


Class Method Detail

def self.g_type_for(value) #

Returns the GType for the Crystal variable, if the value can be wrap in a Value.


def self.raw(g_type : UInt64, ptr : Pointer(Void)) #

Instance Method Detail

def ==(other : Value) : Bool #

Compare two GObject::Value objects


def as_bool : Bool #

def as_bool? : Bool? #

def as_f : Float64 #

def as_f32 : Float32 #

def as_f32? : Float32? #

def as_f64 : Float64 #

def as_f64? : Float64? #

def as_f? : Float64? #

def as_gobject : GObject::Object #

def as_gobject? : GObject::Object? #

def as_i : Int32 #

def as_i32 : Int32 #

def as_i32? : Int32? #

def as_i64 : Int64 #

def as_i64? : Int64? #

def as_i8 : Int8 #

def as_i8? : Int8? #

def as_i? : Int32? #

def as_param_spec : GObject::ParamSpec #

def as_param_spec? : GObject::ParamSpec? #

def as_s : String #

def as_s? : String? #

def as_u : UInt32 #

def as_u32 : UInt32 #

def as_u32? : UInt32? #

def as_u64 : UInt64 #

def as_u64? : UInt64? #

def as_u8 : UInt8 #

def as_u8? : UInt8? #

def as_u? : UInt32? #

def as_variant : GLib::Variant #

def as_variant? : GLib::Variant? #

def finalize #

def g_type : UInt64 #

Returns the GValue GType


def raw #

def to_unsafe #