gFileMonitorDirectory(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)
object
GFile
.flags
GFileMonitorFlags
.cancellable
GCancellable
object, NULL
to ignore.GFileMonitor
] a GFileMonitor
for the given file
, or NULL
on error.error
GError
, or NULL
.cancellable
is not NULL
, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error G_IO_ERROR_CANCELLED
will be returned.