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 OperationInvalidateCallback = IO ()
- afterOperationInvalidate :: (IsOperation a, MonadIO m) => a -> ((?self :: a) => OperationInvalidateCallback) -> m SignalHandlerId
- onOperationInvalidate :: (IsOperation a, MonadIO m) => a -> ((?self :: a) => OperationInvalidateCallback) -> m SignalHandlerId
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 | |
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 | |
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 OperationInvalidateCallback = IO () Source #
No description available in the introspection data.
afterOperationInvalidate :: (IsOperation a, MonadIO m) => a -> ((?self :: 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
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.
onOperationInvalidate :: (IsOperation a, MonadIO m) => a -> ((?self :: 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