|
System.Gnome.VFS.Monitor | Maintainer | gtk2hs-devel@lists.sourceforge.net
Stability : alpha
Portability : portable (depends on GHC) |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Types
|
|
data MonitorHandle |
A handle to a file-system monitor.
|
|
|
type MonitorCallback |
= MonitorHandle | the handle to a filesystem monitor
| -> TextURI | the URI being monitored
| -> TextURI | the actual file that was modified
| -> MonitorEventType | the event that occured
| -> IO () | | A callback that must be passed to monitorAdd. It will be
called any time a file or directory is changed.
|
|
|
Operations
|
|
monitorAdd |
:: String | textURI -
| -> MonitorType | monitorType -
| -> MonitorCallback | callback -
| -> IO MonitorHandle | a handle to the new monitor
| Watch the object at textURI for changes, and call callback
when a change occurs.
|
|
|
monitorCancel |
:: MonitorHandle | monitorHandle | -> IO () | | Cancels the monitor referred to by monitorHandle.
|
|
|
Produced by Haddock version 0.8 |