gFileMonitorDirectory(object, flags = "G_FILE_MONITOR_NONE", cancellable = NULL, .errwarn = TRUE)objectGFile.flagsGFileMonitorFlags.cancellableGCancellable object, NULL to ignore.GFileMonitor] a GFileMonitor for the given file, or NULL on error.errorGError, 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.