Dazzle.RecursiveFileMonitor¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The root directory to monitor |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
This event is similar to |
Fields¶
- Inherited:
Class Details¶
- class Dazzle.RecursiveFileMonitor(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- cancel()¶
Cancels the recursive file monitor.
New in version 3.28.
- get_root()¶
-
Gets the root directory used forthe file monitor.
New in version 3.28.
- set_ignore_func(ignore_func, *ignore_func_data)¶
- Parameters:
ignore_func (
Dazzle.RecursiveIgnoreFunc
) – aDazzle.RecursiveIgnoreFunc
ignore_func_data (
object
orNone
) – closure data for ignore_func
Sets a callback function to determine if a
Gio.File
should be ignored from signal emission.ignore_func will always be called from the applications main thread.
If ignore_func is
None
, it is set to the default which does not ignore any files or directories.New in version 3.28.
- start_async(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- start_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
Signal Details¶
- Dazzle.RecursiveFileMonitor.signals.changed(recursive_file_monitor, file, other_file, event)¶
- Signal Name:
changed
- Flags:
- Parameters:
recursive_file_monitor (
Dazzle.RecursiveFileMonitor
) – The object which received the signalother_file (
Gio.File
orNone
) – aGio.File
for the other file when applicableevent (
Gio.FileMonitorEvent
) – theGio.FileMonitorEvent
event
This event is similar to
Gio.FileMonitor
::changed
but can be fired from any of the monitored directories in the recursive mount.New in version 3.28.