class documentation

class FileTreeWatcher(SignalEmitter): (source)

View In Hierarchy

Helper object that adds signals for file changes. It can be used for the watcher attribute for file system objects.

When use the object itself will call the "watcher" on changes and if the object is a folder it will pass on the "watcher" to child objects. So you can effectively watch a whole tree.

Class Variable __signals__ Undocumented

Inherited from SignalEmitter:

Method __new__ Undocumented
Method block_signals Returns a context manager for blocking one or more signals
Method connect Register a handler for a specific object.
Method connect_after Like connect() but handler will be called after default handler
Method disconnect Undocumented
Method emit Undocumented
Method emit_return_first Emits a signal and stops emission on the first handler that returns a not-None value.
Method emit_return_iter Returns an generator that calls one handler on each iteration and yields the return values. This allows aggregating return values.
Method _connect Undocumented
Method _setup_signal Undocumented
Method _teardown_signal Undocumented
__signals__ = (source)

Undocumented