class GLib::Variant

Defined in:

lib/gi-crystal/src/bindings/g_lib/variant.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(value) #

Instance Method Detail

def as_bool : Bool #

def as_bool? : Bool? #

def as_f : Float64 #

def as_f64 : Float64 #

def as_f64? : Float64? #

def as_f? : Float64? #

def as_i : Int32 #

def as_i16 : Int16 #

def as_i16? : Int16? #

def as_i32 : Int32 #

def as_i32? : Int32? #

def as_i64 : Int64 #

def as_i64? : Int64? #

def as_i? : Int32? #

def as_s : String #

def as_s? : String? #

def as_u : UInt32 #

def as_u16 : UInt16 #

def as_u16? : UInt16? #

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 classify : VariantClass #

def finalize #

def raw #

def to_unsafe : Pointer(Void) #

def type : GLib::VariantType #

def type_string : String #