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

Description

Outputs the video stream from a given file as a still frame. The frame chosen will be determined by the in-point property on the track element. For image files, do not set the in-point property.

Synopsis

Exported types

newtype ImageSource Source #

Memory-managed wrapper type.

Constructors

ImageSource (ManagedPtr ImageSource) 

Instances

Instances details
Eq ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

GObject ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

ManagedPtrNewtype ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

Methods

toManagedPtr :: ImageSource -> ManagedPtr ImageSource

TypedObject ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

Methods

glibType :: IO GType

HasParentTypes ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

IsGValue (Maybe ImageSource) Source #

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

Instance details

Defined in GI.GES.Objects.ImageSource

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes ImageSource Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

class (GObject o, IsDescendantOf ImageSource o) => IsImageSource o Source #

Type class for types which can be safely cast to ImageSource, for instance with toImageSource.

Instances

Instances details
(GObject o, IsDescendantOf ImageSource o) => IsImageSource o Source # 
Instance details

Defined in GI.GES.Objects.ImageSource

toImageSource :: (MonadIO m, IsImageSource o) => o -> m ImageSource Source #

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

addChildProperty, addChildrenProps, addMetasFromString, bindProperty, bindPropertyFull, checkMetaRegistered, clampControlSource, copy, edit, editFull, forceFloating, foreach, freezeNotify, getv, hasInternalSource, isActive, isCore, isFloating, listChildrenProperties, lookupChild, metasToString, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, removeChildProperty, removeControlBinding, ripple, rippleEnd, rollEnd, rollStart, runDispose, stealData, stealQdata, thawNotify, trim, unref, watchClosure.

Getters

getAllControlBindings, getAsset, getAutoClampControlSources, getBoolean, getChildProperty, getChildPropertyByPspec, getControlBinding, getData, getDate, getDateTime, getDouble, getDuration, getElement, getFloat, getGnlobject, getId, getInpoint, getInt, getInt64, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getNaturalSize, getNleobject, getParent, getPriority, getProperty, getQdata, getStart, getString, getTimeline, getToplevelParent, getTrack, getTrackType, getTrackTypes, getUint, getUint64.

Setters

setActive, setAsset, setAutoClampControlSources, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setControlSource, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setHasInternalSource, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setTimeline, setTrackType, setUint, setUint64.

Properties

uri

The location of the file/resource to use.

constructImageSourceUri :: (IsImageSource o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getImageSourceUri :: (MonadIO m, IsImageSource o) => o -> m (Maybe Text) Source #

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

get imageSource #uri