enum Gio::FileAttributeType

Overview

The data types for file attributes.

Defined in:

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

Enum Members

Invalid = 0_u32

indicates an invalid or uninitialized type.

String = 1_u32

a null terminated UTF8 string.

ByteString = 2_u32

a zero terminated string of non-zero bytes.

Boolean = 3_u32

a boolean value.

Uint32 = 4_u32

an unsigned 4-byte/32-bit integer.

Int32 = 5_u32

a signed 4-byte/32-bit integer.

Uint64 = 6_u32

an unsigned 8-byte/64-bit integer.

Int64 = 7_u32

a signed 8-byte/64-bit integer.

Object = 8_u32

a #GObject.

Stringv = 9_u32

a nil terminated char **. Since 2.22

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def boolean? #

[View source]
def byte_string? #

[View source]
def int32? #

[View source]
def int64? #

[View source]
def invalid? #

[View source]
def object? #

[View source]
def string? #

[View source]
def stringv? #

[View source]
def uint32? #

[View source]
def uint64? #

[View source]