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.DirectoryReaper
Description
No description available in the introspection data.
Synopsis
- newtype DirectoryReaper = DirectoryReaper (ManagedPtr DirectoryReaper)
- class (GObject o, IsDescendantOf DirectoryReaper o) => IsDirectoryReaper o
- toDirectoryReaper :: (MonadIO m, IsDirectoryReaper o) => o -> m DirectoryReaper
- directoryReaperAddDirectory :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Int64 -> m ()
- directoryReaperAddFile :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Int64 -> m ()
- directoryReaperAddGlob :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Text -> Int64 -> m ()
- directoryReaperExecute :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsCancellable b) => a -> Maybe b -> m ()
- directoryReaperExecuteAsync :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- directoryReaperExecuteFinish :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsAsyncResult b) => a -> b -> m ()
- directoryReaperNew :: (HasCallStack, MonadIO m) => m DirectoryReaper
- type DirectoryReaperRemoveFileCallback = File -> IO ()
- afterDirectoryReaperRemoveFile :: (IsDirectoryReaper a, MonadIO m) => a -> ((?self :: a) => DirectoryReaperRemoveFileCallback) -> m SignalHandlerId
- onDirectoryReaperRemoveFile :: (IsDirectoryReaper a, MonadIO m) => a -> ((?self :: a) => DirectoryReaperRemoveFileCallback) -> m SignalHandlerId
Exported types
newtype DirectoryReaper Source #
Memory-managed wrapper type.
Constructors
DirectoryReaper (ManagedPtr DirectoryReaper) |
Instances
class (GObject o, IsDescendantOf DirectoryReaper o) => IsDirectoryReaper o Source #
Type class for types which can be safely cast to DirectoryReaper
, for instance with toDirectoryReaper
.
Instances
(GObject o, IsDescendantOf DirectoryReaper o) => IsDirectoryReaper o Source # | |
Defined in GI.Dazzle.Objects.DirectoryReaper |
toDirectoryReaper :: (MonadIO m, IsDirectoryReaper o) => o -> m DirectoryReaper Source #
Cast to DirectoryReaper
, 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
addDirectory, addFile, addGlob, bindProperty, bindPropertyFull, execute, executeAsync, executeFinish, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
addDirectory
directoryReaperAddDirectory :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Int64 -> m () Source #
No description available in the introspection data.
addFile
directoryReaperAddFile :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Int64 -> m () Source #
No description available in the introspection data.
addGlob
directoryReaperAddGlob :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsFile b) => a -> b -> Text -> Int64 -> m () Source #
No description available in the introspection data.
execute
directoryReaperExecute Source #
Arguments
:: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsCancellable b) | |
=> a | |
-> Maybe b | |
-> m () | (Can throw |
No description available in the introspection data.
executeAsync
directoryReaperExecuteAsync :: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #
No description available in the introspection data.
executeFinish
directoryReaperExecuteFinish Source #
Arguments
:: (HasCallStack, MonadIO m, IsDirectoryReaper a, IsAsyncResult b) | |
=> a | |
-> b | |
-> m () | (Can throw |
No description available in the introspection data.
new
directoryReaperNew :: (HasCallStack, MonadIO m) => m DirectoryReaper Source #
No description available in the introspection data.
Signals
removeFile
type DirectoryReaperRemoveFileCallback Source #
The "remove-file" signal is emitted for each file that is removed by the
DirectoryReaper
instance. This may be useful if you want to show the
user what was processed by the reaper.
Since: 3.32
afterDirectoryReaperRemoveFile :: (IsDirectoryReaper a, MonadIO m) => a -> ((?self :: a) => DirectoryReaperRemoveFileCallback) -> m SignalHandlerId Source #
Connect a signal handler for the removeFile signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
directoryReaper #removeFile 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.
onDirectoryReaperRemoveFile :: (IsDirectoryReaper a, MonadIO m) => a -> ((?self :: a) => DirectoryReaperRemoveFileCallback) -> m SignalHandlerId Source #
Connect a signal handler for the removeFile signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
directoryReaper #removeFile callback