RecursiveFileMonitor

Constructors

this
this(DzlRecursiveFileMonitor* dzlRecursiveFileMonitor, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(FileIF root)

Members

Functions

addOnChanged
gulong addOnChanged(void delegate(FileIF, FileIF, GFileMonitorEvent, RecursiveFileMonitor) dlg, ConnectFlags connectFlags)

This event is similar to #GFileMonitor::changed but can be fired from any of the monitored directories in the recursive mount.

cancel
void cancel()

Cancels the recursive file monitor.

getRecursiveFileMonitorStruct
DzlRecursiveFileMonitor* getRecursiveFileMonitorStruct(bool transferOwnership)

Get the main Gtk struct

getRoot
FileIF getRoot()

Gets the root directory used forthe file monitor.

getStruct
void* getStruct()

the main Gtk struct as a void*

setIgnoreFunc
void setIgnoreFunc(DzlRecursiveIgnoreFunc ignoreFunc, void* ignoreFuncData, GDestroyNotify ignoreFuncDataDestroy)

Sets a callback function to determine if a #GFile should be ignored from signal emission.

startAsync
void startAsync(Cancellable cancellable, GAsyncReadyCallback callback, void* userData)
startFinish
bool startFinish(AsyncResultIF result)

Static functions

getType
GType getType()

Variables

dzlRecursiveFileMonitor
DzlRecursiveFileMonitor* dzlRecursiveFileMonitor;

the main Gtk struct

Meta