enum Gio::FileMonitorEvent

Overview

Specifies what type of event a monitor event is.

Defined in:

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

Enum Members

Changed = 0_u32

a file changed.

ChangesDoneHint = 1_u32

a hint that this was probably the last change in a set of changes.

Deleted = 2_u32

a file was deleted.

Created = 3_u32

a file was created.

AttributeChanged = 4_u32

a file attribute was changed.

PreUnmount = 5_u32

the file location will soon be unmounted.

Unmounted = 6_u32

the file location was unmounted.

Moved = 7_u32

the file was moved -- only sent if the (deprecated) %G_FILE_MONITOR_SEND_MOVED flag is set

Renamed = 8_u32

the file was renamed within the current directory -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.

MovedIn = 9_u32

the file was moved into the monitored directory from another location -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.

MovedOut = 10_u32

the file was moved out of the monitored directory to another location -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46

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

[View source]
def changed? #

[View source]
def changes_done_hint? #

[View source]
def created? #

[View source]
def deleted? #

[View source]
def moved? #

[View source]
def moved_in? #

[View source]
def moved_out? #

[View source]
def pre_unmount? #

[View source]
def renamed? #

[View source]
def unmounted? #

[View source]