gi-ges-1.0.4: libges bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GES.Objects.TransitionClip

Description

Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.

The shape of the video transition depends on the value of the "vtype" property. The default value is "crossfade". For audio, only "crossfade" is supported.

The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GESExtractable.asset value will be updated when needed.

Synopsis

Exported types

newtype TransitionClip Source #

Memory-managed wrapper type.

Constructors

TransitionClip (ManagedPtr TransitionClip) 

Instances

Instances details
Eq TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

GObject TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

ManagedPtrNewtype TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

TypedObject TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

Methods

glibType :: IO GType

HasParentTypes TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

IsGValue (Maybe TransitionClip) Source #

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

Instance details

Defined in GI.GES.Objects.TransitionClip

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes TransitionClip Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

class (GObject o, IsDescendantOf TransitionClip o) => IsTransitionClip o Source #

Type class for types which can be safely cast to TransitionClip, for instance with toTransitionClip.

Instances

Instances details
(GObject o, IsDescendantOf TransitionClip o) => IsTransitionClip o Source # 
Instance details

Defined in GI.GES.Objects.TransitionClip

toTransitionClip :: (MonadIO m, IsTransitionClip o) => o -> m TransitionClip Source #

Cast to TransitionClip, 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

Expand

Methods

add, addAsset, addChildProperty, addChildToTrack, addMetasFromString, addTopEffect, bindProperty, bindPropertyFull, checkMetaRegistered, copy, edit, editFull, findTrackElement, findTrackElements, forceFloating, foreach, freezeNotify, getv, isFloating, listChildrenProperties, lookupChild, metasToString, moveToLayer, moveToLayerFull, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, remove, removeChildProperty, removeTopEffect, ripple, rippleEnd, rollEnd, rollStart, runDispose, split, splitFull, stealData, stealQdata, thawNotify, trim, ungroup, unref, watchClosure.

Getters

getAsset, getBoolean, getChildProperty, getChildPropertyByPspec, getChildren, getData, getDate, getDateTime, getDouble, getDuration, getDurationLimit, getFloat, getId, getInpoint, getInt, getInt64, getInternalTimeFromTimelineTime, getLayer, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getParent, getPriority, getProperty, getQdata, getStart, getString, getSupportedFormats, getTimeline, getTimelineTimeFromInternalTime, getTimelineTimeFromSourceFrame, getTopEffectIndex, getTopEffectPosition, getTopEffects, getToplevelParent, getTrackTypes, getUint, getUint64.

Setters

setAsset, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setSupportedFormats, setTimeline, setTopEffectIndex, setTopEffectIndexFull, setTopEffectPriority, setUint, setUint64.

new

transitionClipNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoStandardTransitionType

vtype: the type of transition to create

-> m (Maybe TransitionClip)

Returns: a newly created TransitionClip, or Nothing if something went wrong.

Creates a new TransitionClip.

newForNick

transitionClipNewForNick Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

nick: a string representing the type of transition to create

-> m (Maybe TransitionClip)

Returns: The newly created TransitionClip, or Nothing if something went wrong

Creates a new TransitionClip for the provided nick.

Properties

vtype

a VideoStandardTransitionType representing the wipe to use

constructTransitionClipVtype :: (IsTransitionClip o, MonadIO m) => VideoStandardTransitionType -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “vtype” property. This is rarely needed directly, but it is used by new.

getTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> m VideoStandardTransitionType Source #

Get the value of the “vtype” property. When overloading is enabled, this is equivalent to

get transitionClip #vtype

setTransitionClipVtype :: (MonadIO m, IsTransitionClip o) => o -> VideoStandardTransitionType -> m () Source #

Set the value of the “vtype” property. When overloading is enabled, this is equivalent to

set transitionClip [ #vtype := value ]