GFileMonitorEvent

Specifies what type of event a monitor event is.

Values

ValueMeaning
Changed0

a file changed.

ChangesDoneHint1

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

Deleted2

a file was deleted.

Created3

a file was created.

AttributeChanged4

a file attribute was changed.

PreUnmount5

the file location will soon be unmounted.

Unmounted6

the file location was unmounted.

Moved7

the file was moved -- only sent if the (deprecated) gio.types.FileMonitorFlags.SendMoved flag is set

Renamed8

the file was renamed within the current directory -- only sent if the gio.types.FileMonitorFlags.WatchMoves flag is set. Since: 2.46.

MovedIn9

the file was moved into the monitored directory from another location -- only sent if the gio.types.FileMonitorFlags.WatchMoves flag is set. Since: 2.46.

MovedOut10

the file was moved out of the monitored directory to another location -- only sent if the gio.types.FileMonitorFlags.WatchMoves flag is set. Since: 2.46