Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Dazzle.Objects.RecursiveFileMonitor
Description
No description available in the introspection data.
Synopsis
- newtype RecursiveFileMonitor = RecursiveFileMonitor (ManagedPtr RecursiveFileMonitor)
- class (GObject o, IsDescendantOf RecursiveFileMonitor o) => IsRecursiveFileMonitor o
- toRecursiveFileMonitor :: (MonadIO m, IsRecursiveFileMonitor o) => o -> m RecursiveFileMonitor
- recursiveFileMonitorCancel :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) => a -> m ()
- recursiveFileMonitorGetRoot :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) => a -> m File
- recursiveFileMonitorNew :: (HasCallStack, MonadIO m, IsFile a) => a -> m RecursiveFileMonitor
- recursiveFileMonitorSetIgnoreFunc :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) => a -> RecursiveIgnoreFunc -> m ()
- recursiveFileMonitorStartAsync :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- recursiveFileMonitorStartFinish :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a, IsAsyncResult b) => a -> b -> m ()
- constructRecursiveFileMonitorRoot :: (IsRecursiveFileMonitor o, MonadIO m, IsFile a) => a -> m (GValueConstruct o)
- getRecursiveFileMonitorRoot :: (MonadIO m, IsRecursiveFileMonitor o) => o -> m File
- type RecursiveFileMonitorChangedCallback = File -> Maybe File -> FileMonitorEvent -> IO ()
- afterRecursiveFileMonitorChanged :: (IsRecursiveFileMonitor a, MonadIO m) => a -> ((?self :: a) => RecursiveFileMonitorChangedCallback) -> m SignalHandlerId
- onRecursiveFileMonitorChanged :: (IsRecursiveFileMonitor a, MonadIO m) => a -> ((?self :: a) => RecursiveFileMonitorChangedCallback) -> m SignalHandlerId
Exported types
newtype RecursiveFileMonitor Source #
Memory-managed wrapper type.
Constructors
RecursiveFileMonitor (ManagedPtr RecursiveFileMonitor) |
Instances
class (GObject o, IsDescendantOf RecursiveFileMonitor o) => IsRecursiveFileMonitor o Source #
Type class for types which can be safely cast to RecursiveFileMonitor
, for instance with toRecursiveFileMonitor
.
Instances
(GObject o, IsDescendantOf RecursiveFileMonitor o) => IsRecursiveFileMonitor o Source # | |
Defined in GI.Dazzle.Objects.RecursiveFileMonitor |
toRecursiveFileMonitor :: (MonadIO m, IsRecursiveFileMonitor o) => o -> m RecursiveFileMonitor Source #
Cast to RecursiveFileMonitor
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, cancel, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, startAsync, startFinish, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata, getRoot.
Setters
cancel
recursiveFileMonitorCancel Source #
Arguments
:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) | |
=> a |
|
-> m () |
Cancels the recursive file monitor.
Since: 3.28
getRoot
recursiveFileMonitorGetRoot Source #
Arguments
:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) | |
=> a |
|
-> m File | Returns: a |
Gets the root directory used forthe file monitor.
Since: 3.28
new
recursiveFileMonitorNew :: (HasCallStack, MonadIO m, IsFile a) => a -> m RecursiveFileMonitor Source #
No description available in the introspection data.
setIgnoreFunc
recursiveFileMonitorSetIgnoreFunc Source #
Arguments
:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) | |
=> a |
|
-> RecursiveIgnoreFunc |
|
-> m () |
startAsync
recursiveFileMonitorStartAsync :: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #
No description available in the introspection data.
startFinish
recursiveFileMonitorStartFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a, IsAsyncResult b) | |
=> a | |
-> b | |
-> m () | (Can throw |
No description available in the introspection data.
Properties
root
No description available in the introspection data.
constructRecursiveFileMonitorRoot :: (IsRecursiveFileMonitor o, MonadIO m, IsFile a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “root
” property. This is rarely needed directly, but it is used by new
.
getRecursiveFileMonitorRoot :: (MonadIO m, IsRecursiveFileMonitor o) => o -> m File Source #
Get the value of the “root
” property.
When overloading is enabled, this is equivalent to
get
recursiveFileMonitor #root
Signals
changed
type RecursiveFileMonitorChangedCallback Source #
Arguments
= File |
|
-> Maybe File |
|
-> FileMonitorEvent |
|
-> IO () |
This event is similar to FileMonitor::changed but can be fired from any of the monitored directories in the recursive mount.
Since: 3.28
afterRecursiveFileMonitorChanged :: (IsRecursiveFileMonitor a, MonadIO m) => a -> ((?self :: a) => RecursiveFileMonitorChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
recursiveFileMonitor #changed callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onRecursiveFileMonitorChanged :: (IsRecursiveFileMonitor a, MonadIO m) => a -> ((?self :: a) => RecursiveFileMonitorChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
recursiveFileMonitor #changed callback