| 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 |
GI.OSTree.Objects.AsyncProgress
Contents
Description
- newtype AsyncProgress = AsyncProgress (ManagedPtr AsyncProgress)
- class GObject o => IsAsyncProgress o
- toAsyncProgress :: IsAsyncProgress o => o -> IO AsyncProgress
- noAsyncProgress :: Maybe AsyncProgress
- data AsyncProgressFinishMethodInfo
- asyncProgressFinish :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> m ()
- data AsyncProgressGetStatusMethodInfo
- asyncProgressGetStatus :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> m Text
- data AsyncProgressGetUintMethodInfo
- asyncProgressGetUint :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m Word32
- data AsyncProgressGetUint64MethodInfo
- asyncProgressGetUint64 :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m Word64
- asyncProgressNew :: (HasCallStack, MonadIO m) => m AsyncProgress
- asyncProgressNewAndConnect :: (HasCallStack, MonadIO m) => Ptr () -> Ptr () -> m AsyncProgress
- data AsyncProgressSetStatusMethodInfo
- asyncProgressSetStatus :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m ()
- data AsyncProgressSetUintMethodInfo
- asyncProgressSetUint :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> Word32 -> m ()
- data AsyncProgressSetUint64MethodInfo
- asyncProgressSetUint64 :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> Word64 -> m ()
- type AsyncProgressChangedCallback = IO ()
- data AsyncProgressChangedSignalInfo
- type C_AsyncProgressChangedCallback = Ptr () -> Ptr () -> IO ()
- afterAsyncProgressChanged :: (GObject a, MonadIO m) => a -> AsyncProgressChangedCallback -> m SignalHandlerId
- genClosure_AsyncProgressChanged :: AsyncProgressChangedCallback -> IO Closure
- mk_AsyncProgressChangedCallback :: C_AsyncProgressChangedCallback -> IO (FunPtr C_AsyncProgressChangedCallback)
- noAsyncProgressChangedCallback :: Maybe AsyncProgressChangedCallback
- onAsyncProgressChanged :: (GObject a, MonadIO m) => a -> AsyncProgressChangedCallback -> m SignalHandlerId
- wrap_AsyncProgressChangedCallback :: AsyncProgressChangedCallback -> Ptr () -> Ptr () -> IO ()
Exported types
newtype AsyncProgress Source #
Constructors
| AsyncProgress (ManagedPtr AsyncProgress) |
Instances
| GObject AsyncProgress Source # | |
| IsObject AsyncProgress Source # | |
| IsAsyncProgress AsyncProgress Source # | |
| ((~) * info (ResolveAsyncProgressMethod t AsyncProgress), MethodInfo * info AsyncProgress p) => IsLabel t (AsyncProgress -> p) Source # | |
| ((~) * info (ResolveAsyncProgressMethod t AsyncProgress), MethodInfo * info AsyncProgress p) => IsLabelProxy t (AsyncProgress -> p) Source # | |
| HasAttributeList * AsyncProgress Source # | |
| type AttributeList AsyncProgress Source # | |
| type SignalList AsyncProgress Source # | |
class GObject o => IsAsyncProgress o Source #
Instances
toAsyncProgress :: IsAsyncProgress o => o -> IO AsyncProgress Source #
Methods
finish
data AsyncProgressFinishMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressFinishMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsAsyncProgress a) | |
| => a |
|
| -> m () |
Process any pending signals, ensuring the main context is cleared of sources used by this object. Also ensures that no further events will be queued.
getStatus
data AsyncProgressGetStatusMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressGetStatusMethodInfo a signature Source # | |
asyncProgressGetStatus :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> m Text Source #
No description available in the introspection data.
getUint
data AsyncProgressGetUintMethodInfo Source #
Instances
| ((~) * signature (Text -> m Word32), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressGetUintMethodInfo a signature Source # | |
asyncProgressGetUint :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m Word32 Source #
No description available in the introspection data.
getUint64
data AsyncProgressGetUint64MethodInfo Source #
Instances
| ((~) * signature (Text -> m Word64), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressGetUint64MethodInfo a signature Source # | |
asyncProgressGetUint64 :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m Word64 Source #
No description available in the introspection data.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m AsyncProgress | Returns: A new progress object |
No description available in the introspection data.
newAndConnect
asyncProgressNewAndConnect :: (HasCallStack, MonadIO m) => Ptr () -> Ptr () -> m AsyncProgress Source #
No description available in the introspection data.
setStatus
data AsyncProgressSetStatusMethodInfo Source #
Instances
| ((~) * signature (Text -> m ()), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressSetStatusMethodInfo a signature Source # | |
asyncProgressSetStatus :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> m () Source #
No description available in the introspection data.
setUint
data AsyncProgressSetUintMethodInfo Source #
Instances
| ((~) * signature (Text -> Word32 -> m ()), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressSetUintMethodInfo a signature Source # | |
asyncProgressSetUint :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> Word32 -> m () Source #
No description available in the introspection data.
setUint64
data AsyncProgressSetUint64MethodInfo Source #
Instances
| ((~) * signature (Text -> Word64 -> m ()), MonadIO m, IsAsyncProgress a) => MethodInfo * AsyncProgressSetUint64MethodInfo a signature Source # | |
asyncProgressSetUint64 :: (HasCallStack, MonadIO m, IsAsyncProgress a) => a -> Text -> Word64 -> m () Source #
No description available in the introspection data.
Signals
changed
type AsyncProgressChangedCallback = IO () Source #
afterAsyncProgressChanged :: (GObject a, MonadIO m) => a -> AsyncProgressChangedCallback -> m SignalHandlerId Source #
mk_AsyncProgressChangedCallback :: C_AsyncProgressChangedCallback -> IO (FunPtr C_AsyncProgressChangedCallback) Source #
onAsyncProgressChanged :: (GObject a, MonadIO m) => a -> AsyncProgressChangedCallback -> m SignalHandlerId Source #
wrap_AsyncProgressChangedCallback :: AsyncProgressChangedCallback -> Ptr () -> Ptr () -> IO () Source #