gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Objects.DirectoryReaper

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DirectoryReaper Source #

Memory-managed wrapper type.

Constructors

DirectoryReaper (ManagedPtr DirectoryReaper) 

Instances

Instances details
Eq DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

GObject DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

ManagedPtrNewtype DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

TypedObject DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

Methods

glibType :: IO GType

HasParentTypes DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

IsGValue (Maybe DirectoryReaper) Source #

Convert DirectoryReaper to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe DirectoryReaper -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe DirectoryReaper)

type ParentTypes DirectoryReaper Source # 
Instance details

Defined in GI.Dazzle.Objects.DirectoryReaper

type ParentTypes DirectoryReaper = '[Object]

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

Instances details
(GObject o, IsDescendantOf DirectoryReaper o) => IsDirectoryReaper o Source # 
Instance details

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

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 GError)

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 GError)

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 #

Arguments

 = File

file: a File

-> IO () 

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