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.RecursiveFileMonitor

Description

No description available in the introspection data.

Synopsis

Exported types

newtype RecursiveFileMonitor Source #

Memory-managed wrapper type.

Constructors

RecursiveFileMonitor (ManagedPtr RecursiveFileMonitor) 

Instances

Instances details
Eq RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

GObject RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

ManagedPtrNewtype RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

TypedObject RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

Methods

glibType :: IO GType

HasParentTypes RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

IsGValue (Maybe RecursiveFileMonitor) Source #

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

Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

type ParentTypes RecursiveFileMonitor Source # 
Instance details

Defined in GI.Dazzle.Objects.RecursiveFileMonitor

type ParentTypes RecursiveFileMonitor = '[Object]

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

Instances details
(GObject o, IsDescendantOf RecursiveFileMonitor o) => IsRecursiveFileMonitor o Source # 
Instance details

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

cancel

recursiveFileMonitorCancel Source #

Arguments

:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) 
=> a

self: a RecursiveFileMonitor

-> m () 

Cancels the recursive file monitor.

Since: 3.28

getRoot

recursiveFileMonitorGetRoot Source #

Arguments

:: (HasCallStack, MonadIO m, IsRecursiveFileMonitor a) 
=> a

self: a RecursiveFileMonitor

-> m File

Returns: a File

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 #

Sets a callback function to determine if a File should be ignored from signal emission.

ignoreFunc will always be called from the applications main thread.

If ignoreFunc is Nothing, it is set to the default which does not ignore any files or directories.

Since: 3.28

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

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

file: a File

-> Maybe File

otherFile: a File for the other file when applicable

-> FileMonitorEvent

event: the FileMonitorEvent event

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