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

[View source]
def boolean? #

[View source]
def byte? #

[View source]
def dict_entry? #

[View source]
def double? #

[View source]
def handle? #

[View source]
def int16? #

[View source]
def int32? #

[View source]
def int64? #

[View source]
def maybe? #

[View source]
def object_path? #

[View source]
def signature? #

[View source]
def string? #

[View source]
def tuple? #

[View source]
def uint16? #

[View source]
def uint32? #

[View source]
def uint64? #

[View source]
def variant? #

[View source]