Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype FileMonitor = FileMonitor (ForeignPtr FileMonitor)
- class GObject o => FileMonitorK o
- toFileMonitor :: FileMonitorK o => o -> IO FileMonitor
- noFileMonitor :: Maybe FileMonitor
- data FileMonitorCancelMethodInfo
- fileMonitorCancel :: (MonadIO m, FileMonitorK a) => a -> m Bool
- data FileMonitorEmitEventMethodInfo
- fileMonitorEmitEvent :: (MonadIO m, FileMonitorK a, FileK b, FileK c) => a -> b -> c -> FileMonitorEvent -> m ()
- data FileMonitorIsCancelledMethodInfo
- fileMonitorIsCancelled :: (MonadIO m, FileMonitorK a) => a -> m Bool
- data FileMonitorSetRateLimitMethodInfo
- fileMonitorSetRateLimit :: (MonadIO m, FileMonitorK a) => a -> Int32 -> m ()
- data FileMonitorCancelledPropertyInfo
- fileMonitorCancelled :: AttrLabelProxy "cancelled"
- getFileMonitorCancelled :: (MonadIO m, FileMonitorK o) => o -> m Bool
- data FileMonitorRateLimitPropertyInfo
- constructFileMonitorRateLimit :: Int32 -> IO ([Char], GValue)
- fileMonitorRateLimit :: AttrLabelProxy "rateLimit"
- getFileMonitorRateLimit :: (MonadIO m, FileMonitorK o) => o -> m Int32
- setFileMonitorRateLimit :: (MonadIO m, FileMonitorK o) => o -> Int32 -> m ()
- type FileMonitorChangedCallback = File -> Maybe File -> FileMonitorEvent -> IO ()
- type FileMonitorChangedCallbackC = Ptr () -> Ptr File -> Ptr File -> CUInt -> Ptr () -> IO ()
- data FileMonitorChangedSignalInfo
- afterFileMonitorChanged :: (GObject a, MonadIO m) => a -> FileMonitorChangedCallback -> m SignalHandlerId
- fileMonitorChangedCallbackWrapper :: FileMonitorChangedCallback -> Ptr () -> Ptr File -> Ptr File -> CUInt -> Ptr () -> IO ()
- fileMonitorChangedClosure :: FileMonitorChangedCallback -> IO Closure
- mkFileMonitorChangedCallback :: FileMonitorChangedCallbackC -> IO (FunPtr FileMonitorChangedCallbackC)
- noFileMonitorChangedCallback :: Maybe FileMonitorChangedCallback
- onFileMonitorChanged :: (GObject a, MonadIO m) => a -> FileMonitorChangedCallback -> m SignalHandlerId
Exported types
newtype FileMonitor Source
GObject FileMonitor | |
((~) * info (ResolveFileMonitorMethod t FileMonitor), MethodInfo * info FileMonitor p) => IsLabelProxy t (FileMonitor -> p) | |
type ParentTypes FileMonitor | |
type AttributeList FileMonitor | |
type SignalList FileMonitor |
class GObject o => FileMonitorK o Source
(GObject o, IsDescendantOf FileMonitor o) => FileMonitorK o |
toFileMonitor :: FileMonitorK o => o -> IO FileMonitor Source
Methods
fileMonitorCancel
data FileMonitorCancelMethodInfo Source
((~) * signature (m Bool), MonadIO m, FileMonitorK a) => MethodInfo * FileMonitorCancelMethodInfo a signature |
fileMonitorCancel :: (MonadIO m, FileMonitorK a) => a -> m Bool Source
fileMonitorEmitEvent
data FileMonitorEmitEventMethodInfo Source
((~) * signature (b -> c -> FileMonitorEvent -> m ()), MonadIO m, FileMonitorK a, FileK b, FileK c) => MethodInfo * FileMonitorEmitEventMethodInfo a signature |
fileMonitorEmitEvent :: (MonadIO m, FileMonitorK a, FileK b, FileK c) => a -> b -> c -> FileMonitorEvent -> m () Source
fileMonitorIsCancelled
data FileMonitorIsCancelledMethodInfo Source
((~) * signature (m Bool), MonadIO m, FileMonitorK a) => MethodInfo * FileMonitorIsCancelledMethodInfo a signature |
fileMonitorIsCancelled :: (MonadIO m, FileMonitorK a) => a -> m Bool Source
fileMonitorSetRateLimit
data FileMonitorSetRateLimitMethodInfo Source
((~) * signature (Int32 -> m ()), MonadIO m, FileMonitorK a) => MethodInfo * FileMonitorSetRateLimitMethodInfo a signature |
fileMonitorSetRateLimit :: (MonadIO m, FileMonitorK a) => a -> Int32 -> m () Source
Properties
Cancelled
data FileMonitorCancelledPropertyInfo Source
fileMonitorCancelled :: AttrLabelProxy "cancelled" Source
getFileMonitorCancelled :: (MonadIO m, FileMonitorK o) => o -> m Bool Source
RateLimit
data FileMonitorRateLimitPropertyInfo Source
AttrInfo FileMonitorRateLimitPropertyInfo | |
type AttrLabel FileMonitorRateLimitPropertyInfo = "rate-limit" | |
type AttrGetType FileMonitorRateLimitPropertyInfo = Int32 | |
type AttrBaseTypeConstraint FileMonitorRateLimitPropertyInfo = FileMonitorK | |
type AttrSetTypeConstraint FileMonitorRateLimitPropertyInfo = * ~ Int32 | |
type AttrAllowedOps FileMonitorRateLimitPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fileMonitorRateLimit :: AttrLabelProxy "rateLimit" Source
getFileMonitorRateLimit :: (MonadIO m, FileMonitorK o) => o -> m Int32 Source
setFileMonitorRateLimit :: (MonadIO m, FileMonitorK o) => o -> Int32 -> m () Source
Signals
Changed
type FileMonitorChangedCallback = File -> Maybe File -> FileMonitorEvent -> IO () Source
type FileMonitorChangedCallbackC = Ptr () -> Ptr File -> Ptr File -> CUInt -> Ptr () -> IO () Source
afterFileMonitorChanged :: (GObject a, MonadIO m) => a -> FileMonitorChangedCallback -> m SignalHandlerId Source
fileMonitorChangedCallbackWrapper :: FileMonitorChangedCallback -> Ptr () -> Ptr File -> Ptr File -> CUInt -> Ptr () -> IO () Source
mkFileMonitorChangedCallback :: FileMonitorChangedCallbackC -> IO (FunPtr FileMonitorChangedCallbackC) Source
onFileMonitorChanged :: (GObject a, MonadIO m) => a -> FileMonitorChangedCallback -> m SignalHandlerId Source