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 |
Represents a git remote callbacks.
Synopsis
- newtype RemoteCallbacks = RemoteCallbacks (ManagedPtr RemoteCallbacks)
- class (GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o
- toRemoteCallbacks :: (MonadIO m, IsRemoteCallbacks o) => o -> m RemoteCallbacks
- type RemoteCallbacksCompletionCallback = RemoteCompletionType -> IO ()
- afterRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksCompletionCallback) -> m SignalHandlerId
- onRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksCompletionCallback) -> m SignalHandlerId
- type RemoteCallbacksProgressCallback = Text -> IO ()
- afterRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksProgressCallback) -> m SignalHandlerId
- onRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksProgressCallback) -> m SignalHandlerId
- type RemoteCallbacksTransferProgressCallback = TransferProgress -> IO ()
- afterRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksTransferProgressCallback) -> m SignalHandlerId
- onRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksTransferProgressCallback) -> m SignalHandlerId
- type RemoteCallbacksUpdateTipsCallback = Text -> OId -> OId -> IO ()
- afterRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksUpdateTipsCallback) -> m SignalHandlerId
- onRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksUpdateTipsCallback) -> m SignalHandlerId
Exported types
newtype RemoteCallbacks Source #
Memory-managed wrapper type.
Instances
Eq RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks (==) :: RemoteCallbacks -> RemoteCallbacks -> Bool # (/=) :: RemoteCallbacks -> RemoteCallbacks -> Bool # | |
GObject RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
ManagedPtrNewtype RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
TypedObject RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
HasParentTypes RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks | |
IsGValue (Maybe RemoteCallbacks) Source # | Convert |
Defined in GI.Ggit.Objects.RemoteCallbacks gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe RemoteCallbacks -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe RemoteCallbacks) # | |
type ParentTypes RemoteCallbacks Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks |
class (GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o Source #
Type class for types which can be safely cast to RemoteCallbacks
, for instance with toRemoteCallbacks
.
Instances
(GObject o, IsDescendantOf RemoteCallbacks o) => IsRemoteCallbacks o Source # | |
Defined in GI.Ggit.Objects.RemoteCallbacks |
toRemoteCallbacks :: (MonadIO m, IsRemoteCallbacks o) => o -> m RemoteCallbacks Source #
Cast to RemoteCallbacks
, 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, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
Signals
completion
type RemoteCallbacksCompletionCallback = RemoteCompletionType -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksCompletionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the completion signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #completion 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.
onRemoteCallbacksCompletion :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksCompletionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the completion signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #completion callback
progress
type RemoteCallbacksProgressCallback = Text -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the progress signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #progress 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.
onRemoteCallbacksProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the progress signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #progress callback
transferProgress
type RemoteCallbacksTransferProgressCallback = TransferProgress -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksTransferProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the transferProgress signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #transferProgress 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.
onRemoteCallbacksTransferProgress :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksTransferProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the transferProgress signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #transferProgress callback
updateTips
type RemoteCallbacksUpdateTipsCallback = Text -> OId -> OId -> IO () Source #
No description available in the introspection data.
afterRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksUpdateTipsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the updateTips signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
remoteCallbacks #updateTips 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.
onRemoteCallbacksUpdateTips :: (IsRemoteCallbacks a, MonadIO m) => a -> ((?self :: a) => RemoteCallbacksUpdateTipsCallback) -> m SignalHandlerId Source #
Connect a signal handler for the updateTips signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
remoteCallbacks #updateTips callback