enum GLib::VariantClass

Overview

The range of possible top-level types of #GVariant instances.

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Enum Members

Boolean = 98_u32

The #GVariant is a boolean.

Byte = 121_u32

The #GVariant is a byte.

Int16 = 110_u32

The #GVariant is a signed 16 bit integer.

Uint16 = 113_u32

The #GVariant is an unsigned 16 bit integer.

Int32 = 105_u32

The #GVariant is a signed 32 bit integer.

Uint32 = 117_u32

The #GVariant is an unsigned 32 bit integer.

Int64 = 120_u32

The #GVariant is a signed 64 bit integer.

Uint64 = 116_u32

The #GVariant is an unsigned 64 bit integer.

Handle = 104_u32

The #GVariant is a file handle index.

Double = 100_u32

The #GVariant is a double precision floating point value.

String = 115_u32

The #GVariant is a normal string.

ObjectPath = 111_u32

The #GVariant is a D-Bus object path string.

Signature = 103_u32

The #GVariant is a D-Bus signature string.

Variant = 118_u32

The #GVariant is a variant.

Maybe = 109_u32

The #GVariant is a maybe-typed value.

Array = 97_u32

The #GVariant is an array.

Tuple = 40_u32

The #GVariant is a tuple.

DictEntry = 123_u32

The #GVariant is a dictionary entry.

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def array? #

def boolean? #

def byte? #

def dict_entry? #

def double? #

def handle? #

def int16? #

def int32? #

def int64? #

def maybe? #

def object_path? #

def signature? #

def string? #

def tuple? #

def uint16? #

def uint32? #

def uint64? #

def variant? #