enum GLib::SeekType

Overview

An enumeration specifying the base position for a g_io_channel_seek_position() operation.

Defined in:

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

Enum Members

Cur = 0_u32

the current position in the file.

Set = 1_u32

the start of the file.

End = 2_u32

the end of the file.

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def cur? #

Returns true if this enum value equals Cur


[View source]
def end? #

Returns true if this enum value equals End


[View source]
def set? #

Returns true if this enum value equals Set


[View source]