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 |
No description available in the introspection data.
Synopsis
- newtype Operation = Operation (ManagedPtr Operation)
- class (GObject o, IsDescendantOf Operation o) => IsOperation o
- toOperation :: (MonadIO m, IsOperation o) => o -> m Operation
- operationGetFlags :: (HasCallStack, MonadIO m, IsOperation a) => a -> m [OperationFlags]
- operationInvalidate :: (HasCallStack, MonadIO m, IsOperation a) => a -> m ()
- operationNew :: (HasCallStack, MonadIO m) => Text -> m Operation
- type C_OperationInvalidateCallback = Ptr () -> Ptr () -> IO ()
- type OperationInvalidateCallback = IO ()
- afterOperationInvalidate :: (IsOperation a, MonadIO m) => a -> OperationInvalidateCallback -> m SignalHandlerId
- genClosure_OperationInvalidate :: MonadIO m => OperationInvalidateCallback -> m (GClosure C_OperationInvalidateCallback)
- mk_OperationInvalidateCallback :: C_OperationInvalidateCallback -> IO (FunPtr C_OperationInvalidateCallback)
- noOperationInvalidateCallback :: Maybe OperationInvalidateCallback
- onOperationInvalidate :: (IsOperation a, MonadIO m) => a -> OperationInvalidateCallback -> m SignalHandlerId
- wrap_OperationInvalidateCallback :: OperationInvalidateCallback -> C_OperationInvalidateCallback
Exported types
Memory-managed wrapper type.
Instances
Eq Operation Source # | |
GObject Operation Source # | |
Defined in GI.Vips.Objects.Operation | |
ManagedPtrNewtype Operation Source # | |
Defined in GI.Vips.Objects.Operation toManagedPtr :: Operation -> ManagedPtr Operation | |
TypedObject Operation Source # | |
Defined in GI.Vips.Objects.Operation | |
HasParentTypes Operation Source # | |
Defined in GI.Vips.Objects.Operation | |
IsGValue (Maybe Operation) Source # | Convert |
Defined in GI.Vips.Objects.Operation gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Operation -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Operation) | |
type ParentTypes Operation Source # | |
Defined in GI.Vips.Objects.Operation |
class (GObject o, IsDescendantOf Operation o) => IsOperation o Source #
Type class for types which can be safely cast to Operation
, for instance with toOperation
.
Instances
(GObject o, IsDescendantOf Operation o) => IsOperation o Source # | |
Defined in GI.Vips.Objects.Operation |
toOperation :: (MonadIO m, IsOperation o) => o -> m Operation Source #
Methods
Click to display all available methods, including inherited ones
Methods
argumentIsset, argumentNeedsstring, bindProperty, bindPropertyFull, build, forceFloating, freezeNotify, getv, invalidate, isFloating, localCb, notify, notifyByPspec, preclose, printDump, printName, printSummary, ref, refSink, rewind, runDispose, sanity, stealData, stealQdata, thawNotify, unref, unrefOutputs, watchClosure.
Getters
getArgumentFlags, getArgumentPriority, getArgumentToString, getData, getDescription, getFlags, getQdata.
Setters
setArgumentFromString, setData, setDataFull, setFromString, setRequired, setStatic.
getFlags
:: (HasCallStack, MonadIO m, IsOperation a) | |
=> a |
|
-> m [OperationFlags] | Returns: 0 on success, or -1 on error. |
Returns the set of flags for this operation.
invalidate
operationInvalidate :: (HasCallStack, MonadIO m, IsOperation a) => a -> m () Source #
No description available in the introspection data.
new
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m Operation | Returns: the new operation. |
Return a new Operation
with the specified nickname. Useful for
language bindings.
You'll need to set
any arguments and build the operation before you can use it. See
vips_call()
for a higher-level way to make new operations.
Signals
invalidate
type C_OperationInvalidateCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type OperationInvalidateCallback = IO () Source #
No description available in the introspection data.
afterOperationInvalidate :: (IsOperation a, MonadIO m) => a -> OperationInvalidateCallback -> m SignalHandlerId Source #
Connect a signal handler for the invalidate signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
operation #invalidate callback
genClosure_OperationInvalidate :: MonadIO m => OperationInvalidateCallback -> m (GClosure C_OperationInvalidateCallback) Source #
Wrap the callback into a GClosure
.
mk_OperationInvalidateCallback :: C_OperationInvalidateCallback -> IO (FunPtr C_OperationInvalidateCallback) Source #
Generate a function pointer callable from C code, from a C_OperationInvalidateCallback
.
noOperationInvalidateCallback :: Maybe OperationInvalidateCallback Source #
A convenience synonym for
.Nothing
:: Maybe
OperationInvalidateCallback
onOperationInvalidate :: (IsOperation a, MonadIO m) => a -> OperationInvalidateCallback -> m SignalHandlerId Source #
Connect a signal handler for the invalidate signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
operation #invalidate callback