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

Description

TitleSource is a GESTimelineElement that implements the notion of titles in GES.

Synopsis

Exported types

newtype TitleSource Source #

Memory-managed wrapper type.

Constructors

TitleSource (ManagedPtr TitleSource) 

Instances

Instances details
Eq TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

GObject TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

ManagedPtrNewtype TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

Methods

toManagedPtr :: TitleSource -> ManagedPtr TitleSource

TypedObject TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

Methods

glibType :: IO GType

HasParentTypes TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

IsGValue (Maybe TitleSource) Source #

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

Instance details

Defined in GI.GES.Objects.TitleSource

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes TitleSource Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

class (GObject o, IsDescendantOf TitleSource o) => IsTitleSource o Source #

Type class for types which can be safely cast to TitleSource, for instance with toTitleSource.

Instances

Instances details
(GObject o, IsDescendantOf TitleSource o) => IsTitleSource o Source # 
Instance details

Defined in GI.GES.Objects.TitleSource

toTitleSource :: (MonadIO m, IsTitleSource o) => o -> m TitleSource Source #

Cast to TitleSource, 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, getBackgroundColor, getBoolean, getChildProperty, getChildPropertyByPspec, getControlBinding, getData, getDate, getDateTime, getDouble, getDuration, getElement, getFloat, getFontDesc, getGnlobject, getHalignment, getId, getInpoint, getInt, getInt64, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getNaturalSize, getNleobject, getParent, getPriority, getProperty, getQdata, getStart, getString, getText, getTextColor, getTimeline, getToplevelParent, getTrack, getTrackType, getTrackTypes, getUint, getUint64, getValignment, getXpos, getYpos.

Setters

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

getBackgroundColor

titleSourceGetBackgroundColor Source #

Arguments

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

source: a TitleSource

-> m Word32

Returns: The background used by source.

Get the background used by source.

getFontDesc

titleSourceGetFontDesc Source #

Arguments

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

source: a TitleSource

-> m (Maybe Text)

Returns: The pango font description used by this source.

Deprecated: (Since version 1.16)Use ges_timeline_element_get_child_property instead(this actually returns a newly allocated string)

Get the pango font description used by source.

getHalignment

titleSourceGetHalignment Source #

Arguments

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

source: a TitleSource

-> m TextHAlign

Returns: The horizontal aligment used by source.

Get the horizontal aligment used by source.

getText

titleSourceGetText Source #

Arguments

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

source: a TitleSource

-> m (Maybe Text)

Returns: The text currently set on the source.

Deprecated: (Since version 1.16)Use ges_timeline_element_get_child_property instead(this actually returns a newly allocated string)

Get the text currently set on the source.

getTextColor

titleSourceGetTextColor Source #

Arguments

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

source: a TitleSource

-> m Word32

Returns: The color used by source.

Get the color used by source.

getValignment

titleSourceGetValignment Source #

Arguments

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

source: a TitleSource

-> m TextVAlign

Returns: The vertical aligment used by source.

Get the vertical aligment used by source.

getXpos

titleSourceGetXpos Source #

Arguments

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

source: a TitleSource

-> m Double

Returns: The horizontal position used by source.

Get the horizontal position used by source.

getYpos

titleSourceGetYpos Source #

Arguments

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

source: a TitleSource

-> m Double

Returns: The vertical position used by source.

Get the vertical position used by source.

setBackgroundColor

titleSourceSetBackgroundColor Source #

Arguments

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

self: the TitleSource* to set

-> Word32

color: the color self is being set to

-> m () 

Sets the color of the background

setFontDesc

titleSourceSetFontDesc Source #

Arguments

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

self: the TitleSource

-> Maybe Text

fontDesc: the pango font description

-> m () 

Set the pango font description this source will use to render the text.

setHalignment

titleSourceSetHalignment Source #

Arguments

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

self: the TitleSource* to set text on

-> TextHAlign

halign: TextHAlign

-> m () 

Sets the vertical aligment of the text.

setText

titleSourceSetText Source #

Arguments

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

self: the TitleSource* to set text on

-> Maybe Text

text: the text to render. an internal copy of this text will be made.

-> m () 

Deprecated: use ges_track_element_get/set_children_properties on theGESTrackElement instead

Sets the text this track element will render.

setTextColor

titleSourceSetTextColor Source #

Arguments

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

self: the TitleSource* to set

-> Word32

color: the color self is being set to

-> m () 

Sets the color of the text.

setValignment

titleSourceSetValignment Source #

Arguments

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

self: the TitleSource* to set text on

-> TextVAlign

valign: TextVAlign

-> m () 

Sets the vertical aligment of the text.

setXpos

titleSourceSetXpos Source #

Arguments

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

self: the TitleSource* to set

-> Double

position: the horizontal position self is being set to

-> m () 

Sets the horizontal position of the text.

setYpos

titleSourceSetYpos Source #

Arguments

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

self: the TitleSource* to set

-> Double

position: the color self is being set to

-> m () 

Sets the vertical position of the text.