gi-vips-8.0.1: libvips GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Vips.Objects.Operation

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Operation Source #

Memory-managed wrapper type.

Constructors

Operation (ManagedPtr Operation) 

Instances

Instances details
Eq Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

GObject Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

ManagedPtrNewtype Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

Methods

toManagedPtr :: Operation -> ManagedPtr Operation

TypedObject Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

Methods

glibType :: IO GType

HasParentTypes Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

IsGValue (Maybe Operation) Source #

Convert Operation to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Vips.Objects.Operation

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Operation -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Operation)

type ParentTypes Operation Source # 
Instance details

Defined in GI.Vips.Objects.Operation

type ParentTypes Operation = '[Object, Object]

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

Instances details
(GObject o, IsDescendantOf Operation o) => IsOperation o Source # 
Instance details

Defined in GI.Vips.Objects.Operation

toOperation :: (MonadIO m, IsOperation o) => o -> m Operation Source #

Cast to Operation, for types for which this is known to be safe. For general casts, use castTo.

Methods

getFlags

operationGetFlags Source #

Arguments

:: (HasCallStack, MonadIO m, IsOperation a) 
=> a

operation: operation to fetch flags from

-> 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

operationNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

name: nickname of operation to create

-> 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

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