{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.GES.Objects.TextOverlayClip
(
TextOverlayClip(..) ,
IsTextOverlayClip ,
toTextOverlayClip ,
#if defined(ENABLE_OVERLOADING)
ResolveTextOverlayClipMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetColorMethodInfo ,
#endif
textOverlayClipGetColor ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetFontDescMethodInfo ,
#endif
textOverlayClipGetFontDesc ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetHalignmentMethodInfo ,
#endif
textOverlayClipGetHalignment ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetTextMethodInfo ,
#endif
textOverlayClipGetText ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetValignmentMethodInfo ,
#endif
textOverlayClipGetValignment ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetXposMethodInfo ,
#endif
textOverlayClipGetXpos ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipGetYposMethodInfo ,
#endif
textOverlayClipGetYpos ,
textOverlayClipNew ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetColorMethodInfo ,
#endif
textOverlayClipSetColor ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetFontDescMethodInfo ,
#endif
textOverlayClipSetFontDesc ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetHalignMethodInfo ,
#endif
textOverlayClipSetHalign ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetTextMethodInfo ,
#endif
textOverlayClipSetText ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetValignMethodInfo ,
#endif
textOverlayClipSetValign ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetXposMethodInfo ,
#endif
textOverlayClipSetXpos ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipSetYposMethodInfo ,
#endif
textOverlayClipSetYpos ,
#if defined(ENABLE_OVERLOADING)
TextOverlayClipColorPropertyInfo ,
#endif
constructTextOverlayClipColor ,
getTextOverlayClipColor ,
setTextOverlayClipColor ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipColor ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipFontDescPropertyInfo ,
#endif
clearTextOverlayClipFontDesc ,
constructTextOverlayClipFontDesc ,
getTextOverlayClipFontDesc ,
setTextOverlayClipFontDesc ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipFontDesc ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipHalignmentPropertyInfo ,
#endif
constructTextOverlayClipHalignment ,
getTextOverlayClipHalignment ,
setTextOverlayClipHalignment ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipHalignment ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipTextPropertyInfo ,
#endif
clearTextOverlayClipText ,
constructTextOverlayClipText ,
getTextOverlayClipText ,
setTextOverlayClipText ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipText ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipValignmentPropertyInfo ,
#endif
constructTextOverlayClipValignment ,
getTextOverlayClipValignment ,
setTextOverlayClipValignment ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipValignment ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipXposPropertyInfo ,
#endif
constructTextOverlayClipXpos ,
getTextOverlayClipXpos ,
setTextOverlayClipXpos ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipXpos ,
#endif
#if defined(ENABLE_OVERLOADING)
TextOverlayClipYposPropertyInfo ,
#endif
constructTextOverlayClipYpos ,
getTextOverlayClipYpos ,
setTextOverlayClipYpos ,
#if defined(ENABLE_OVERLOADING)
textOverlayClipYpos ,
#endif
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.Kind as DK
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import {-# SOURCE #-} qualified GI.GES.Enums as GES.Enums
import {-# SOURCE #-} qualified GI.GES.Interfaces.Extractable as GES.Extractable
import {-# SOURCE #-} qualified GI.GES.Interfaces.MetaContainer as GES.MetaContainer
import {-# SOURCE #-} qualified GI.GES.Objects.Clip as GES.Clip
import {-# SOURCE #-} qualified GI.GES.Objects.Container as GES.Container
import {-# SOURCE #-} qualified GI.GES.Objects.OperationClip as GES.OperationClip
import {-# SOURCE #-} qualified GI.GES.Objects.OverlayClip as GES.OverlayClip
import {-# SOURCE #-} qualified GI.GES.Objects.TimelineElement as GES.TimelineElement
import qualified GI.GObject.Objects.Object as GObject.Object
newtype TextOverlayClip = TextOverlayClip (SP.ManagedPtr TextOverlayClip)
deriving (TextOverlayClip -> TextOverlayClip -> Bool
(TextOverlayClip -> TextOverlayClip -> Bool)
-> (TextOverlayClip -> TextOverlayClip -> Bool)
-> Eq TextOverlayClip
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TextOverlayClip -> TextOverlayClip -> Bool
== :: TextOverlayClip -> TextOverlayClip -> Bool
$c/= :: TextOverlayClip -> TextOverlayClip -> Bool
/= :: TextOverlayClip -> TextOverlayClip -> Bool
Eq)
instance SP.ManagedPtrNewtype TextOverlayClip where
toManagedPtr :: TextOverlayClip -> ManagedPtr TextOverlayClip
toManagedPtr (TextOverlayClip ManagedPtr TextOverlayClip
p) = ManagedPtr TextOverlayClip
p
foreign import ccall "ges_text_overlay_clip_get_type"
c_ges_text_overlay_clip_get_type :: IO B.Types.GType
instance B.Types.TypedObject TextOverlayClip where
glibType :: IO GType
glibType = IO GType
c_ges_text_overlay_clip_get_type
instance B.Types.GObject TextOverlayClip
class (SP.GObject o, O.IsDescendantOf TextOverlayClip o) => IsTextOverlayClip o
instance (SP.GObject o, O.IsDescendantOf TextOverlayClip o) => IsTextOverlayClip o
instance O.HasParentTypes TextOverlayClip
type instance O.ParentTypes TextOverlayClip = '[GES.OverlayClip.OverlayClip, GES.OperationClip.OperationClip, GES.Clip.Clip, GES.Container.Container, GES.TimelineElement.TimelineElement, GObject.Object.Object, GES.Extractable.Extractable, GES.MetaContainer.MetaContainer]
toTextOverlayClip :: (MIO.MonadIO m, IsTextOverlayClip o) => o -> m TextOverlayClip
toTextOverlayClip :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m TextOverlayClip
toTextOverlayClip = IO TextOverlayClip -> m TextOverlayClip
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO TextOverlayClip -> m TextOverlayClip)
-> (o -> IO TextOverlayClip) -> o -> m TextOverlayClip
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr TextOverlayClip -> TextOverlayClip)
-> o -> IO TextOverlayClip
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr TextOverlayClip -> TextOverlayClip
TextOverlayClip
instance B.GValue.IsGValue (Maybe TextOverlayClip) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_ges_text_overlay_clip_get_type
gvalueSet_ :: Ptr GValue -> Maybe TextOverlayClip -> IO ()
gvalueSet_ Ptr GValue
gv Maybe TextOverlayClip
P.Nothing = Ptr GValue -> Ptr TextOverlayClip -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr TextOverlayClip
forall a. Ptr a
FP.nullPtr :: FP.Ptr TextOverlayClip)
gvalueSet_ Ptr GValue
gv (P.Just TextOverlayClip
obj) = TextOverlayClip -> (Ptr TextOverlayClip -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr TextOverlayClip
obj (Ptr GValue -> Ptr TextOverlayClip -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe TextOverlayClip)
gvalueGet_ Ptr GValue
gv = do
Ptr TextOverlayClip
ptr <- Ptr GValue -> IO (Ptr TextOverlayClip)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr TextOverlayClip)
if Ptr TextOverlayClip
ptr Ptr TextOverlayClip -> Ptr TextOverlayClip -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr TextOverlayClip
forall a. Ptr a
FP.nullPtr
then TextOverlayClip -> Maybe TextOverlayClip
forall a. a -> Maybe a
P.Just (TextOverlayClip -> Maybe TextOverlayClip)
-> IO TextOverlayClip -> IO (Maybe TextOverlayClip)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr TextOverlayClip -> TextOverlayClip)
-> Ptr TextOverlayClip -> IO TextOverlayClip
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr TextOverlayClip -> TextOverlayClip
TextOverlayClip Ptr TextOverlayClip
ptr
else Maybe TextOverlayClip -> IO (Maybe TextOverlayClip)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe TextOverlayClip
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveTextOverlayClipMethod (t :: Symbol) (o :: DK.Type) :: DK.Type where
ResolveTextOverlayClipMethod "add" o = GES.Container.ContainerAddMethodInfo
ResolveTextOverlayClipMethod "addAsset" o = GES.Clip.ClipAddAssetMethodInfo
ResolveTextOverlayClipMethod "addChildProperty" o = GES.TimelineElement.TimelineElementAddChildPropertyMethodInfo
ResolveTextOverlayClipMethod "addChildToTrack" o = GES.Clip.ClipAddChildToTrackMethodInfo
ResolveTextOverlayClipMethod "addMetasFromString" o = GES.MetaContainer.MetaContainerAddMetasFromStringMethodInfo
ResolveTextOverlayClipMethod "addTopEffect" o = GES.Clip.ClipAddTopEffectMethodInfo
ResolveTextOverlayClipMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveTextOverlayClipMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveTextOverlayClipMethod "checkMetaRegistered" o = GES.MetaContainer.MetaContainerCheckMetaRegisteredMethodInfo
ResolveTextOverlayClipMethod "copy" o = GES.TimelineElement.TimelineElementCopyMethodInfo
ResolveTextOverlayClipMethod "edit" o = GES.Container.ContainerEditMethodInfo
ResolveTextOverlayClipMethod "editFull" o = GES.TimelineElement.TimelineElementEditFullMethodInfo
ResolveTextOverlayClipMethod "findTrackElement" o = GES.Clip.ClipFindTrackElementMethodInfo
ResolveTextOverlayClipMethod "findTrackElements" o = GES.Clip.ClipFindTrackElementsMethodInfo
ResolveTextOverlayClipMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveTextOverlayClipMethod "foreach" o = GES.MetaContainer.MetaContainerForeachMethodInfo
ResolveTextOverlayClipMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveTextOverlayClipMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveTextOverlayClipMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveTextOverlayClipMethod "listChildrenProperties" o = GES.TimelineElement.TimelineElementListChildrenPropertiesMethodInfo
ResolveTextOverlayClipMethod "lookupChild" o = GES.TimelineElement.TimelineElementLookupChildMethodInfo
ResolveTextOverlayClipMethod "metasToString" o = GES.MetaContainer.MetaContainerMetasToStringMethodInfo
ResolveTextOverlayClipMethod "moveToLayer" o = GES.Clip.ClipMoveToLayerMethodInfo
ResolveTextOverlayClipMethod "moveToLayerFull" o = GES.Clip.ClipMoveToLayerFullMethodInfo
ResolveTextOverlayClipMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveTextOverlayClipMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveTextOverlayClipMethod "paste" o = GES.TimelineElement.TimelineElementPasteMethodInfo
ResolveTextOverlayClipMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveTextOverlayClipMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveTextOverlayClipMethod "registerMeta" o = GES.MetaContainer.MetaContainerRegisterMetaMethodInfo
ResolveTextOverlayClipMethod "registerMetaBoolean" o = GES.MetaContainer.MetaContainerRegisterMetaBooleanMethodInfo
ResolveTextOverlayClipMethod "registerMetaDate" o = GES.MetaContainer.MetaContainerRegisterMetaDateMethodInfo
ResolveTextOverlayClipMethod "registerMetaDateTime" o = GES.MetaContainer.MetaContainerRegisterMetaDateTimeMethodInfo
ResolveTextOverlayClipMethod "registerMetaDouble" o = GES.MetaContainer.MetaContainerRegisterMetaDoubleMethodInfo
ResolveTextOverlayClipMethod "registerMetaFloat" o = GES.MetaContainer.MetaContainerRegisterMetaFloatMethodInfo
ResolveTextOverlayClipMethod "registerMetaInt" o = GES.MetaContainer.MetaContainerRegisterMetaIntMethodInfo
ResolveTextOverlayClipMethod "registerMetaInt64" o = GES.MetaContainer.MetaContainerRegisterMetaInt64MethodInfo
ResolveTextOverlayClipMethod "registerMetaString" o = GES.MetaContainer.MetaContainerRegisterMetaStringMethodInfo
ResolveTextOverlayClipMethod "registerMetaUint" o = GES.MetaContainer.MetaContainerRegisterMetaUintMethodInfo
ResolveTextOverlayClipMethod "registerMetaUint64" o = GES.MetaContainer.MetaContainerRegisterMetaUint64MethodInfo
ResolveTextOverlayClipMethod "registerStaticMeta" o = GES.MetaContainer.MetaContainerRegisterStaticMetaMethodInfo
ResolveTextOverlayClipMethod "remove" o = GES.Container.ContainerRemoveMethodInfo
ResolveTextOverlayClipMethod "removeChildProperty" o = GES.TimelineElement.TimelineElementRemoveChildPropertyMethodInfo
ResolveTextOverlayClipMethod "removeTopEffect" o = GES.Clip.ClipRemoveTopEffectMethodInfo
ResolveTextOverlayClipMethod "ripple" o = GES.TimelineElement.TimelineElementRippleMethodInfo
ResolveTextOverlayClipMethod "rippleEnd" o = GES.TimelineElement.TimelineElementRippleEndMethodInfo
ResolveTextOverlayClipMethod "rollEnd" o = GES.TimelineElement.TimelineElementRollEndMethodInfo
ResolveTextOverlayClipMethod "rollStart" o = GES.TimelineElement.TimelineElementRollStartMethodInfo
ResolveTextOverlayClipMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveTextOverlayClipMethod "split" o = GES.Clip.ClipSplitMethodInfo
ResolveTextOverlayClipMethod "splitFull" o = GES.Clip.ClipSplitFullMethodInfo
ResolveTextOverlayClipMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveTextOverlayClipMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveTextOverlayClipMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveTextOverlayClipMethod "trim" o = GES.TimelineElement.TimelineElementTrimMethodInfo
ResolveTextOverlayClipMethod "ungroup" o = GES.Container.ContainerUngroupMethodInfo
ResolveTextOverlayClipMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveTextOverlayClipMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveTextOverlayClipMethod "getAsset" o = GES.Extractable.ExtractableGetAssetMethodInfo
ResolveTextOverlayClipMethod "getBoolean" o = GES.MetaContainer.MetaContainerGetBooleanMethodInfo
ResolveTextOverlayClipMethod "getChildProperty" o = GES.TimelineElement.TimelineElementGetChildPropertyMethodInfo
ResolveTextOverlayClipMethod "getChildPropertyByPspec" o = GES.TimelineElement.TimelineElementGetChildPropertyByPspecMethodInfo
ResolveTextOverlayClipMethod "getChildren" o = GES.Container.ContainerGetChildrenMethodInfo
ResolveTextOverlayClipMethod "getColor" o = TextOverlayClipGetColorMethodInfo
ResolveTextOverlayClipMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveTextOverlayClipMethod "getDate" o = GES.MetaContainer.MetaContainerGetDateMethodInfo
ResolveTextOverlayClipMethod "getDateTime" o = GES.MetaContainer.MetaContainerGetDateTimeMethodInfo
ResolveTextOverlayClipMethod "getDouble" o = GES.MetaContainer.MetaContainerGetDoubleMethodInfo
ResolveTextOverlayClipMethod "getDuration" o = GES.TimelineElement.TimelineElementGetDurationMethodInfo
ResolveTextOverlayClipMethod "getDurationLimit" o = GES.Clip.ClipGetDurationLimitMethodInfo
ResolveTextOverlayClipMethod "getFloat" o = GES.MetaContainer.MetaContainerGetFloatMethodInfo
ResolveTextOverlayClipMethod "getFontDesc" o = TextOverlayClipGetFontDescMethodInfo
ResolveTextOverlayClipMethod "getHalignment" o = TextOverlayClipGetHalignmentMethodInfo
ResolveTextOverlayClipMethod "getId" o = GES.Extractable.ExtractableGetIdMethodInfo
ResolveTextOverlayClipMethod "getInpoint" o = GES.TimelineElement.TimelineElementGetInpointMethodInfo
ResolveTextOverlayClipMethod "getInt" o = GES.MetaContainer.MetaContainerGetIntMethodInfo
ResolveTextOverlayClipMethod "getInt64" o = GES.MetaContainer.MetaContainerGetInt64MethodInfo
ResolveTextOverlayClipMethod "getInternalTimeFromTimelineTime" o = GES.Clip.ClipGetInternalTimeFromTimelineTimeMethodInfo
ResolveTextOverlayClipMethod "getLayer" o = GES.Clip.ClipGetLayerMethodInfo
ResolveTextOverlayClipMethod "getLayerPriority" o = GES.TimelineElement.TimelineElementGetLayerPriorityMethodInfo
ResolveTextOverlayClipMethod "getMarkerList" o = GES.MetaContainer.MetaContainerGetMarkerListMethodInfo
ResolveTextOverlayClipMethod "getMaxDuration" o = GES.TimelineElement.TimelineElementGetMaxDurationMethodInfo
ResolveTextOverlayClipMethod "getMeta" o = GES.MetaContainer.MetaContainerGetMetaMethodInfo
ResolveTextOverlayClipMethod "getName" o = GES.TimelineElement.TimelineElementGetNameMethodInfo
ResolveTextOverlayClipMethod "getNaturalFramerate" o = GES.TimelineElement.TimelineElementGetNaturalFramerateMethodInfo
ResolveTextOverlayClipMethod "getParent" o = GES.TimelineElement.TimelineElementGetParentMethodInfo
ResolveTextOverlayClipMethod "getPriority" o = GES.TimelineElement.TimelineElementGetPriorityMethodInfo
ResolveTextOverlayClipMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveTextOverlayClipMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveTextOverlayClipMethod "getStart" o = GES.TimelineElement.TimelineElementGetStartMethodInfo
ResolveTextOverlayClipMethod "getString" o = GES.MetaContainer.MetaContainerGetStringMethodInfo
ResolveTextOverlayClipMethod "getSupportedFormats" o = GES.Clip.ClipGetSupportedFormatsMethodInfo
ResolveTextOverlayClipMethod "getText" o = TextOverlayClipGetTextMethodInfo
ResolveTextOverlayClipMethod "getTimeline" o = GES.TimelineElement.TimelineElementGetTimelineMethodInfo
ResolveTextOverlayClipMethod "getTimelineTimeFromInternalTime" o = GES.Clip.ClipGetTimelineTimeFromInternalTimeMethodInfo
ResolveTextOverlayClipMethod "getTimelineTimeFromSourceFrame" o = GES.Clip.ClipGetTimelineTimeFromSourceFrameMethodInfo
ResolveTextOverlayClipMethod "getTopEffectIndex" o = GES.Clip.ClipGetTopEffectIndexMethodInfo
ResolveTextOverlayClipMethod "getTopEffectPosition" o = GES.Clip.ClipGetTopEffectPositionMethodInfo
ResolveTextOverlayClipMethod "getTopEffects" o = GES.Clip.ClipGetTopEffectsMethodInfo
ResolveTextOverlayClipMethod "getToplevelParent" o = GES.TimelineElement.TimelineElementGetToplevelParentMethodInfo
ResolveTextOverlayClipMethod "getTrackTypes" o = GES.TimelineElement.TimelineElementGetTrackTypesMethodInfo
ResolveTextOverlayClipMethod "getUint" o = GES.MetaContainer.MetaContainerGetUintMethodInfo
ResolveTextOverlayClipMethod "getUint64" o = GES.MetaContainer.MetaContainerGetUint64MethodInfo
ResolveTextOverlayClipMethod "getValignment" o = TextOverlayClipGetValignmentMethodInfo
ResolveTextOverlayClipMethod "getXpos" o = TextOverlayClipGetXposMethodInfo
ResolveTextOverlayClipMethod "getYpos" o = TextOverlayClipGetYposMethodInfo
ResolveTextOverlayClipMethod "setAsset" o = GES.Extractable.ExtractableSetAssetMethodInfo
ResolveTextOverlayClipMethod "setBoolean" o = GES.MetaContainer.MetaContainerSetBooleanMethodInfo
ResolveTextOverlayClipMethod "setChildProperty" o = GES.TimelineElement.TimelineElementSetChildPropertyMethodInfo
ResolveTextOverlayClipMethod "setChildPropertyByPspec" o = GES.TimelineElement.TimelineElementSetChildPropertyByPspecMethodInfo
ResolveTextOverlayClipMethod "setChildPropertyFull" o = GES.TimelineElement.TimelineElementSetChildPropertyFullMethodInfo
ResolveTextOverlayClipMethod "setColor" o = TextOverlayClipSetColorMethodInfo
ResolveTextOverlayClipMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveTextOverlayClipMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveTextOverlayClipMethod "setDate" o = GES.MetaContainer.MetaContainerSetDateMethodInfo
ResolveTextOverlayClipMethod "setDateTime" o = GES.MetaContainer.MetaContainerSetDateTimeMethodInfo
ResolveTextOverlayClipMethod "setDouble" o = GES.MetaContainer.MetaContainerSetDoubleMethodInfo
ResolveTextOverlayClipMethod "setDuration" o = GES.TimelineElement.TimelineElementSetDurationMethodInfo
ResolveTextOverlayClipMethod "setFloat" o = GES.MetaContainer.MetaContainerSetFloatMethodInfo
ResolveTextOverlayClipMethod "setFontDesc" o = TextOverlayClipSetFontDescMethodInfo
ResolveTextOverlayClipMethod "setHalign" o = TextOverlayClipSetHalignMethodInfo
ResolveTextOverlayClipMethod "setInpoint" o = GES.TimelineElement.TimelineElementSetInpointMethodInfo
ResolveTextOverlayClipMethod "setInt" o = GES.MetaContainer.MetaContainerSetIntMethodInfo
ResolveTextOverlayClipMethod "setInt64" o = GES.MetaContainer.MetaContainerSetInt64MethodInfo
ResolveTextOverlayClipMethod "setMarkerList" o = GES.MetaContainer.MetaContainerSetMarkerListMethodInfo
ResolveTextOverlayClipMethod "setMaxDuration" o = GES.TimelineElement.TimelineElementSetMaxDurationMethodInfo
ResolveTextOverlayClipMethod "setMeta" o = GES.MetaContainer.MetaContainerSetMetaMethodInfo
ResolveTextOverlayClipMethod "setName" o = GES.TimelineElement.TimelineElementSetNameMethodInfo
ResolveTextOverlayClipMethod "setParent" o = GES.TimelineElement.TimelineElementSetParentMethodInfo
ResolveTextOverlayClipMethod "setPriority" o = GES.TimelineElement.TimelineElementSetPriorityMethodInfo
ResolveTextOverlayClipMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveTextOverlayClipMethod "setStart" o = GES.TimelineElement.TimelineElementSetStartMethodInfo
ResolveTextOverlayClipMethod "setString" o = GES.MetaContainer.MetaContainerSetStringMethodInfo
ResolveTextOverlayClipMethod "setSupportedFormats" o = GES.Clip.ClipSetSupportedFormatsMethodInfo
ResolveTextOverlayClipMethod "setText" o = TextOverlayClipSetTextMethodInfo
ResolveTextOverlayClipMethod "setTimeline" o = GES.TimelineElement.TimelineElementSetTimelineMethodInfo
ResolveTextOverlayClipMethod "setTopEffectIndex" o = GES.Clip.ClipSetTopEffectIndexMethodInfo
ResolveTextOverlayClipMethod "setTopEffectIndexFull" o = GES.Clip.ClipSetTopEffectIndexFullMethodInfo
ResolveTextOverlayClipMethod "setTopEffectPriority" o = GES.Clip.ClipSetTopEffectPriorityMethodInfo
ResolveTextOverlayClipMethod "setUint" o = GES.MetaContainer.MetaContainerSetUintMethodInfo
ResolveTextOverlayClipMethod "setUint64" o = GES.MetaContainer.MetaContainerSetUint64MethodInfo
ResolveTextOverlayClipMethod "setValign" o = TextOverlayClipSetValignMethodInfo
ResolveTextOverlayClipMethod "setXpos" o = TextOverlayClipSetXposMethodInfo
ResolveTextOverlayClipMethod "setYpos" o = TextOverlayClipSetYposMethodInfo
ResolveTextOverlayClipMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveTextOverlayClipMethod t TextOverlayClip, O.OverloadedMethod info TextOverlayClip p) => OL.IsLabel t (TextOverlayClip -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveTextOverlayClipMethod t TextOverlayClip, O.OverloadedMethod info TextOverlayClip p, R.HasField t TextOverlayClip p) => R.HasField t TextOverlayClip p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveTextOverlayClipMethod t TextOverlayClip, O.OverloadedMethodInfo info TextOverlayClip) => OL.IsLabel t (O.MethodProxy info TextOverlayClip) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getTextOverlayClipColor :: (MonadIO m, IsTextOverlayClip o) => o -> m Word32
getTextOverlayClipColor :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m Word32
getTextOverlayClipColor o
obj = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Word32
forall a. GObject a => a -> String -> IO Word32
B.Properties.getObjectPropertyUInt32 o
obj String
"color"
setTextOverlayClipColor :: (MonadIO m, IsTextOverlayClip o) => o -> Word32 -> m ()
setTextOverlayClipColor :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> Word32 -> m ()
setTextOverlayClipColor o
obj Word32
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Word32 -> IO ()
forall a. GObject a => a -> String -> Word32 -> IO ()
B.Properties.setObjectPropertyUInt32 o
obj String
"color" Word32
val
constructTextOverlayClipColor :: (IsTextOverlayClip o, MIO.MonadIO m) => Word32 -> m (GValueConstruct o)
constructTextOverlayClipColor :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
Word32 -> m (GValueConstruct o)
constructTextOverlayClipColor Word32
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Word32 -> IO (GValueConstruct o)
forall o. String -> Word32 -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyUInt32 String
"color" Word32
val
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipColorPropertyInfo
instance AttrInfo TextOverlayClipColorPropertyInfo where
type AttrAllowedOps TextOverlayClipColorPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint TextOverlayClipColorPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipColorPropertyInfo = (~) Word32
type AttrTransferTypeConstraint TextOverlayClipColorPropertyInfo = (~) Word32
type AttrTransferType TextOverlayClipColorPropertyInfo = Word32
type AttrGetType TextOverlayClipColorPropertyInfo = Word32
type AttrLabel TextOverlayClipColorPropertyInfo = "color"
type AttrOrigin TextOverlayClipColorPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipColor
attrSet = setTextOverlayClipColor
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipColor
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.color"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:color"
})
#endif
getTextOverlayClipFontDesc :: (MonadIO m, IsTextOverlayClip o) => o -> m (Maybe T.Text)
getTextOverlayClipFontDesc :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m (Maybe Text)
getTextOverlayClipFontDesc o
obj = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"font-desc"
setTextOverlayClipFontDesc :: (MonadIO m, IsTextOverlayClip o) => o -> T.Text -> m ()
setTextOverlayClipFontDesc :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> Text -> m ()
setTextOverlayClipFontDesc o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"font-desc" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructTextOverlayClipFontDesc :: (IsTextOverlayClip o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructTextOverlayClipFontDesc :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructTextOverlayClipFontDesc Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"font-desc" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearTextOverlayClipFontDesc :: (MonadIO m, IsTextOverlayClip o) => o -> m ()
clearTextOverlayClipFontDesc :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m ()
clearTextOverlayClipFontDesc o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"font-desc" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipFontDescPropertyInfo
instance AttrInfo TextOverlayClipFontDescPropertyInfo where
type AttrAllowedOps TextOverlayClipFontDescPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint TextOverlayClipFontDescPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipFontDescPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint TextOverlayClipFontDescPropertyInfo = (~) T.Text
type AttrTransferType TextOverlayClipFontDescPropertyInfo = T.Text
type AttrGetType TextOverlayClipFontDescPropertyInfo = (Maybe T.Text)
type AttrLabel TextOverlayClipFontDescPropertyInfo = "font-desc"
type AttrOrigin TextOverlayClipFontDescPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipFontDesc
attrSet = setTextOverlayClipFontDesc
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipFontDesc
attrClear = clearTextOverlayClipFontDesc
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.fontDesc"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:fontDesc"
})
#endif
getTextOverlayClipHalignment :: (MonadIO m, IsTextOverlayClip o) => o -> m GES.Enums.TextHAlign
getTextOverlayClipHalignment :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m TextHAlign
getTextOverlayClipHalignment o
obj = IO TextHAlign -> m TextHAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO TextHAlign -> m TextHAlign) -> IO TextHAlign -> m TextHAlign
forall a b. (a -> b) -> a -> b
$ o -> String -> IO TextHAlign
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"halignment"
setTextOverlayClipHalignment :: (MonadIO m, IsTextOverlayClip o) => o -> GES.Enums.TextHAlign -> m ()
setTextOverlayClipHalignment :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> TextHAlign -> m ()
setTextOverlayClipHalignment o
obj TextHAlign
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> TextHAlign -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"halignment" TextHAlign
val
constructTextOverlayClipHalignment :: (IsTextOverlayClip o, MIO.MonadIO m) => GES.Enums.TextHAlign -> m (GValueConstruct o)
constructTextOverlayClipHalignment :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
TextHAlign -> m (GValueConstruct o)
constructTextOverlayClipHalignment TextHAlign
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> TextHAlign -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"halignment" TextHAlign
val
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipHalignmentPropertyInfo
instance AttrInfo TextOverlayClipHalignmentPropertyInfo where
type AttrAllowedOps TextOverlayClipHalignmentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint TextOverlayClipHalignmentPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipHalignmentPropertyInfo = (~) GES.Enums.TextHAlign
type AttrTransferTypeConstraint TextOverlayClipHalignmentPropertyInfo = (~) GES.Enums.TextHAlign
type AttrTransferType TextOverlayClipHalignmentPropertyInfo = GES.Enums.TextHAlign
type AttrGetType TextOverlayClipHalignmentPropertyInfo = GES.Enums.TextHAlign
type AttrLabel TextOverlayClipHalignmentPropertyInfo = "halignment"
type AttrOrigin TextOverlayClipHalignmentPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipHalignment
attrSet = setTextOverlayClipHalignment
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipHalignment
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.halignment"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:halignment"
})
#endif
getTextOverlayClipText :: (MonadIO m, IsTextOverlayClip o) => o -> m (Maybe T.Text)
getTextOverlayClipText :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m (Maybe Text)
getTextOverlayClipText o
obj = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"text"
setTextOverlayClipText :: (MonadIO m, IsTextOverlayClip o) => o -> T.Text -> m ()
setTextOverlayClipText :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> Text -> m ()
setTextOverlayClipText o
obj Text
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"text" (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
val)
constructTextOverlayClipText :: (IsTextOverlayClip o, MIO.MonadIO m) => T.Text -> m (GValueConstruct o)
constructTextOverlayClipText :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
Text -> m (GValueConstruct o)
constructTextOverlayClipText Text
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Maybe Text -> IO (GValueConstruct o)
forall o. String -> Maybe Text -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyString String
"text" (Text -> Maybe Text
forall a. a -> Maybe a
P.Just Text
val)
clearTextOverlayClipText :: (MonadIO m, IsTextOverlayClip o) => o -> m ()
clearTextOverlayClipText :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m ()
clearTextOverlayClipText o
obj = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ o -> String -> Maybe Text -> IO ()
forall a. GObject a => a -> String -> Maybe Text -> IO ()
B.Properties.setObjectPropertyString o
obj String
"text" (Maybe Text
forall a. Maybe a
Nothing :: Maybe T.Text)
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipTextPropertyInfo
instance AttrInfo TextOverlayClipTextPropertyInfo where
type AttrAllowedOps TextOverlayClipTextPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrBaseTypeConstraint TextOverlayClipTextPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipTextPropertyInfo = (~) T.Text
type AttrTransferTypeConstraint TextOverlayClipTextPropertyInfo = (~) T.Text
type AttrTransferType TextOverlayClipTextPropertyInfo = T.Text
type AttrGetType TextOverlayClipTextPropertyInfo = (Maybe T.Text)
type AttrLabel TextOverlayClipTextPropertyInfo = "text"
type AttrOrigin TextOverlayClipTextPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipText
attrSet = setTextOverlayClipText
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipText
attrClear = clearTextOverlayClipText
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.text"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:text"
})
#endif
getTextOverlayClipValignment :: (MonadIO m, IsTextOverlayClip o) => o -> m GES.Enums.TextVAlign
getTextOverlayClipValignment :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m TextVAlign
getTextOverlayClipValignment o
obj = IO TextVAlign -> m TextVAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO TextVAlign -> m TextVAlign) -> IO TextVAlign -> m TextVAlign
forall a b. (a -> b) -> a -> b
$ o -> String -> IO TextVAlign
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"valignment"
setTextOverlayClipValignment :: (MonadIO m, IsTextOverlayClip o) => o -> GES.Enums.TextVAlign -> m ()
setTextOverlayClipValignment :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> TextVAlign -> m ()
setTextOverlayClipValignment o
obj TextVAlign
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> TextVAlign -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"valignment" TextVAlign
val
constructTextOverlayClipValignment :: (IsTextOverlayClip o, MIO.MonadIO m) => GES.Enums.TextVAlign -> m (GValueConstruct o)
constructTextOverlayClipValignment :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
TextVAlign -> m (GValueConstruct o)
constructTextOverlayClipValignment TextVAlign
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> TextVAlign -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"valignment" TextVAlign
val
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipValignmentPropertyInfo
instance AttrInfo TextOverlayClipValignmentPropertyInfo where
type AttrAllowedOps TextOverlayClipValignmentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint TextOverlayClipValignmentPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipValignmentPropertyInfo = (~) GES.Enums.TextVAlign
type AttrTransferTypeConstraint TextOverlayClipValignmentPropertyInfo = (~) GES.Enums.TextVAlign
type AttrTransferType TextOverlayClipValignmentPropertyInfo = GES.Enums.TextVAlign
type AttrGetType TextOverlayClipValignmentPropertyInfo = GES.Enums.TextVAlign
type AttrLabel TextOverlayClipValignmentPropertyInfo = "valignment"
type AttrOrigin TextOverlayClipValignmentPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipValignment
attrSet = setTextOverlayClipValignment
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipValignment
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.valignment"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:valignment"
})
#endif
getTextOverlayClipXpos :: (MonadIO m, IsTextOverlayClip o) => o -> m Double
getTextOverlayClipXpos :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m Double
getTextOverlayClipXpos o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"xpos"
setTextOverlayClipXpos :: (MonadIO m, IsTextOverlayClip o) => o -> Double -> m ()
setTextOverlayClipXpos :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> Double -> m ()
setTextOverlayClipXpos o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"xpos" Double
val
constructTextOverlayClipXpos :: (IsTextOverlayClip o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructTextOverlayClipXpos :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructTextOverlayClipXpos Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"xpos" Double
val
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipXposPropertyInfo
instance AttrInfo TextOverlayClipXposPropertyInfo where
type AttrAllowedOps TextOverlayClipXposPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint TextOverlayClipXposPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipXposPropertyInfo = (~) Double
type AttrTransferTypeConstraint TextOverlayClipXposPropertyInfo = (~) Double
type AttrTransferType TextOverlayClipXposPropertyInfo = Double
type AttrGetType TextOverlayClipXposPropertyInfo = Double
type AttrLabel TextOverlayClipXposPropertyInfo = "xpos"
type AttrOrigin TextOverlayClipXposPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipXpos
attrSet = setTextOverlayClipXpos
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipXpos
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.xpos"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:xpos"
})
#endif
getTextOverlayClipYpos :: (MonadIO m, IsTextOverlayClip o) => o -> m Double
getTextOverlayClipYpos :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> m Double
getTextOverlayClipYpos o
obj = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Double
forall a. GObject a => a -> String -> IO Double
B.Properties.getObjectPropertyDouble o
obj String
"ypos"
setTextOverlayClipYpos :: (MonadIO m, IsTextOverlayClip o) => o -> Double -> m ()
setTextOverlayClipYpos :: forall (m :: * -> *) o.
(MonadIO m, IsTextOverlayClip o) =>
o -> Double -> m ()
setTextOverlayClipYpos o
obj Double
val = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Double -> IO ()
forall a. GObject a => a -> String -> Double -> IO ()
B.Properties.setObjectPropertyDouble o
obj String
"ypos" Double
val
constructTextOverlayClipYpos :: (IsTextOverlayClip o, MIO.MonadIO m) => Double -> m (GValueConstruct o)
constructTextOverlayClipYpos :: forall o (m :: * -> *).
(IsTextOverlayClip o, MonadIO m) =>
Double -> m (GValueConstruct o)
constructTextOverlayClipYpos Double
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a. IO a -> IO a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Double -> IO (GValueConstruct o)
forall o. String -> Double -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyDouble String
"ypos" Double
val
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipYposPropertyInfo
instance AttrInfo TextOverlayClipYposPropertyInfo where
type AttrAllowedOps TextOverlayClipYposPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint TextOverlayClipYposPropertyInfo = IsTextOverlayClip
type AttrSetTypeConstraint TextOverlayClipYposPropertyInfo = (~) Double
type AttrTransferTypeConstraint TextOverlayClipYposPropertyInfo = (~) Double
type AttrTransferType TextOverlayClipYposPropertyInfo = Double
type AttrGetType TextOverlayClipYposPropertyInfo = Double
type AttrLabel TextOverlayClipYposPropertyInfo = "ypos"
type AttrOrigin TextOverlayClipYposPropertyInfo = TextOverlayClip
attrGet = getTextOverlayClipYpos
attrSet = setTextOverlayClipYpos
attrTransfer _ v = do
return v
attrConstruct = constructTextOverlayClipYpos
attrClear = undefined
dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.ypos"
, O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#g:attr:ypos"
})
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList TextOverlayClip
type instance O.AttributeList TextOverlayClip = TextOverlayClipAttributeList
type TextOverlayClipAttributeList = ('[ '("color", TextOverlayClipColorPropertyInfo), '("duration", GES.TimelineElement.TimelineElementDurationPropertyInfo), '("durationLimit", GES.Clip.ClipDurationLimitPropertyInfo), '("fontDesc", TextOverlayClipFontDescPropertyInfo), '("halignment", TextOverlayClipHalignmentPropertyInfo), '("height", GES.Container.ContainerHeightPropertyInfo), '("inPoint", GES.TimelineElement.TimelineElementInPointPropertyInfo), '("layer", GES.Clip.ClipLayerPropertyInfo), '("maxDuration", GES.TimelineElement.TimelineElementMaxDurationPropertyInfo), '("name", GES.TimelineElement.TimelineElementNamePropertyInfo), '("parent", GES.TimelineElement.TimelineElementParentPropertyInfo), '("priority", GES.TimelineElement.TimelineElementPriorityPropertyInfo), '("serialize", GES.TimelineElement.TimelineElementSerializePropertyInfo), '("start", GES.TimelineElement.TimelineElementStartPropertyInfo), '("supportedFormats", GES.Clip.ClipSupportedFormatsPropertyInfo), '("text", TextOverlayClipTextPropertyInfo), '("timeline", GES.TimelineElement.TimelineElementTimelinePropertyInfo), '("valignment", TextOverlayClipValignmentPropertyInfo), '("xpos", TextOverlayClipXposPropertyInfo), '("ypos", TextOverlayClipYposPropertyInfo)] :: [(Symbol, DK.Type)])
#endif
#if defined(ENABLE_OVERLOADING)
textOverlayClipColor :: AttrLabelProxy "color"
textOverlayClipColor = AttrLabelProxy
textOverlayClipFontDesc :: AttrLabelProxy "fontDesc"
textOverlayClipFontDesc = AttrLabelProxy
textOverlayClipHalignment :: AttrLabelProxy "halignment"
textOverlayClipHalignment = AttrLabelProxy
textOverlayClipText :: AttrLabelProxy "text"
textOverlayClipText = AttrLabelProxy
textOverlayClipValignment :: AttrLabelProxy "valignment"
textOverlayClipValignment = AttrLabelProxy
textOverlayClipXpos :: AttrLabelProxy "xpos"
textOverlayClipXpos = AttrLabelProxy
textOverlayClipYpos :: AttrLabelProxy "ypos"
textOverlayClipYpos = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList TextOverlayClip = TextOverlayClipSignalList
type TextOverlayClipSignalList = ('[ '("childAdded", GES.Container.ContainerChildAddedSignalInfo), '("childPropertyAdded", GES.TimelineElement.TimelineElementChildPropertyAddedSignalInfo), '("childPropertyRemoved", GES.TimelineElement.TimelineElementChildPropertyRemovedSignalInfo), '("childRemoved", GES.Container.ContainerChildRemovedSignalInfo), '("deepNotify", GES.TimelineElement.TimelineElementDeepNotifySignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("notifyMeta", GES.MetaContainer.MetaContainerNotifyMetaSignalInfo)] :: [(Symbol, DK.Type)])
#endif
foreign import ccall "ges_text_overlay_clip_new" ges_text_overlay_clip_new ::
IO (Ptr TextOverlayClip)
textOverlayClipNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m (Maybe TextOverlayClip)
textOverlayClipNew :: forall (m :: * -> *).
(HasCallStack, MonadIO m) =>
m (Maybe TextOverlayClip)
textOverlayClipNew = IO (Maybe TextOverlayClip) -> m (Maybe TextOverlayClip)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe TextOverlayClip) -> m (Maybe TextOverlayClip))
-> IO (Maybe TextOverlayClip) -> m (Maybe TextOverlayClip)
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
result <- IO (Ptr TextOverlayClip)
ges_text_overlay_clip_new
Maybe TextOverlayClip
maybeResult <- Ptr TextOverlayClip
-> (Ptr TextOverlayClip -> IO TextOverlayClip)
-> IO (Maybe TextOverlayClip)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr TextOverlayClip
result ((Ptr TextOverlayClip -> IO TextOverlayClip)
-> IO (Maybe TextOverlayClip))
-> (Ptr TextOverlayClip -> IO TextOverlayClip)
-> IO (Maybe TextOverlayClip)
forall a b. (a -> b) -> a -> b
$ \Ptr TextOverlayClip
result' -> do
TextOverlayClip
result'' <- ((ManagedPtr TextOverlayClip -> TextOverlayClip)
-> Ptr TextOverlayClip -> IO TextOverlayClip
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr TextOverlayClip -> TextOverlayClip
TextOverlayClip) Ptr TextOverlayClip
result'
TextOverlayClip -> IO TextOverlayClip
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return TextOverlayClip
result''
Maybe TextOverlayClip -> IO (Maybe TextOverlayClip)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe TextOverlayClip
maybeResult
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "ges_text_overlay_clip_get_color" ges_text_overlay_clip_get_color ::
Ptr TextOverlayClip ->
IO Word32
textOverlayClipGetColor ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m Word32
textOverlayClipGetColor :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m Word32
textOverlayClipGetColor a
self = IO Word32 -> m Word32
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Word32 -> m Word32) -> IO Word32 -> m Word32
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Word32
result <- Ptr TextOverlayClip -> IO Word32
ges_text_overlay_clip_get_color Ptr TextOverlayClip
self'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Word32 -> IO Word32
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Word32
result
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetColorMethodInfo
instance (signature ~ (m Word32), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetColorMethodInfo a signature where
overloadedMethod = textOverlayClipGetColor
instance O.OverloadedMethodInfo TextOverlayClipGetColorMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetColor",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetColor"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_font_desc" ges_text_overlay_clip_get_font_desc ::
Ptr TextOverlayClip ->
IO CString
textOverlayClipGetFontDesc ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m (Maybe T.Text)
textOverlayClipGetFontDesc :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m (Maybe Text)
textOverlayClipGetFontDesc a
self = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
result <- Ptr TextOverlayClip -> IO CString
ges_text_overlay_clip_get_font_desc Ptr TextOverlayClip
self'
Maybe Text
maybeResult <- CString -> (CString -> IO Text) -> IO (Maybe Text)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull CString
result ((CString -> IO Text) -> IO (Maybe Text))
-> (CString -> IO Text) -> IO (Maybe Text)
forall a b. (a -> b) -> a -> b
$ \CString
result' -> do
Text
result'' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result'
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Text -> IO (Maybe Text)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Text
maybeResult
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetFontDescMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetFontDescMethodInfo a signature where
overloadedMethod = textOverlayClipGetFontDesc
instance O.OverloadedMethodInfo TextOverlayClipGetFontDescMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetFontDesc",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetFontDesc"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_halignment" ges_text_overlay_clip_get_halignment ::
Ptr TextOverlayClip ->
IO CUInt
textOverlayClipGetHalignment ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m GES.Enums.TextHAlign
textOverlayClipGetHalignment :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m TextHAlign
textOverlayClipGetHalignment a
self = IO TextHAlign -> m TextHAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TextHAlign -> m TextHAlign) -> IO TextHAlign -> m TextHAlign
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr TextOverlayClip -> IO CUInt
ges_text_overlay_clip_get_halignment Ptr TextOverlayClip
self'
let result' :: TextHAlign
result' = (Int -> TextHAlign
forall a. Enum a => Int -> a
toEnum (Int -> TextHAlign) -> (CUInt -> Int) -> CUInt -> TextHAlign
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
TextHAlign -> IO TextHAlign
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return TextHAlign
result'
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetHalignmentMethodInfo
instance (signature ~ (m GES.Enums.TextHAlign), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetHalignmentMethodInfo a signature where
overloadedMethod = textOverlayClipGetHalignment
instance O.OverloadedMethodInfo TextOverlayClipGetHalignmentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetHalignment",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetHalignment"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_text" ges_text_overlay_clip_get_text ::
Ptr TextOverlayClip ->
IO CString
textOverlayClipGetText ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m (Maybe T.Text)
textOverlayClipGetText :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m (Maybe Text)
textOverlayClipGetText a
self = IO (Maybe Text) -> m (Maybe Text)
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
result <- Ptr TextOverlayClip -> IO CString
ges_text_overlay_clip_get_text Ptr TextOverlayClip
self'
Maybe Text
maybeResult <- CString -> (CString -> IO Text) -> IO (Maybe Text)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull CString
result ((CString -> IO Text) -> IO (Maybe Text))
-> (CString -> IO Text) -> IO (Maybe Text)
forall a b. (a -> b) -> a -> b
$ \CString
result' -> do
Text
result'' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result'
Text -> IO Text
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Maybe Text -> IO (Maybe Text)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe Text
maybeResult
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetTextMethodInfo
instance (signature ~ (m (Maybe T.Text)), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetTextMethodInfo a signature where
overloadedMethod = textOverlayClipGetText
instance O.OverloadedMethodInfo TextOverlayClipGetTextMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetText",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetText"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_valignment" ges_text_overlay_clip_get_valignment ::
Ptr TextOverlayClip ->
IO CUInt
textOverlayClipGetValignment ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m GES.Enums.TextVAlign
textOverlayClipGetValignment :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m TextVAlign
textOverlayClipGetValignment a
self = IO TextVAlign -> m TextVAlign
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TextVAlign -> m TextVAlign) -> IO TextVAlign -> m TextVAlign
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CUInt
result <- Ptr TextOverlayClip -> IO CUInt
ges_text_overlay_clip_get_valignment Ptr TextOverlayClip
self'
let result' :: TextVAlign
result' = (Int -> TextVAlign
forall a. Enum a => Int -> a
toEnum (Int -> TextVAlign) -> (CUInt -> Int) -> CUInt -> TextVAlign
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
TextVAlign -> IO TextVAlign
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return TextVAlign
result'
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetValignmentMethodInfo
instance (signature ~ (m GES.Enums.TextVAlign), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetValignmentMethodInfo a signature where
overloadedMethod = textOverlayClipGetValignment
instance O.OverloadedMethodInfo TextOverlayClipGetValignmentMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetValignment",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetValignment"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_xpos" ges_text_overlay_clip_get_xpos ::
Ptr TextOverlayClip ->
IO CDouble
textOverlayClipGetXpos ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m Double
textOverlayClipGetXpos :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m Double
textOverlayClipGetXpos a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CDouble
result <- Ptr TextOverlayClip -> IO CDouble
ges_text_overlay_clip_get_xpos Ptr TextOverlayClip
self'
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetXposMethodInfo
instance (signature ~ (m Double), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetXposMethodInfo a signature where
overloadedMethod = textOverlayClipGetXpos
instance O.OverloadedMethodInfo TextOverlayClipGetXposMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetXpos",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetXpos"
})
#endif
foreign import ccall "ges_text_overlay_clip_get_ypos" ges_text_overlay_clip_get_ypos ::
Ptr TextOverlayClip ->
IO CDouble
textOverlayClipGetYpos ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> m Double
textOverlayClipGetYpos :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> m Double
textOverlayClipGetYpos a
self = IO Double -> m Double
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Double -> m Double) -> IO Double -> m Double
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CDouble
result <- Ptr TextOverlayClip -> IO CDouble
ges_text_overlay_clip_get_ypos Ptr TextOverlayClip
self'
let result' :: Double
result' = CDouble -> Double
forall a b. (Real a, Fractional b) => a -> b
realToFrac CDouble
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
Double -> IO Double
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Double
result'
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipGetYposMethodInfo
instance (signature ~ (m Double), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipGetYposMethodInfo a signature where
overloadedMethod = textOverlayClipGetYpos
instance O.OverloadedMethodInfo TextOverlayClipGetYposMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipGetYpos",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipGetYpos"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_color" ges_text_overlay_clip_set_color ::
Ptr TextOverlayClip ->
Word32 ->
IO ()
textOverlayClipSetColor ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> Word32
-> m ()
textOverlayClipSetColor :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> Word32 -> m ()
textOverlayClipSetColor a
self Word32
color = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
Ptr TextOverlayClip -> Word32 -> IO ()
ges_text_overlay_clip_set_color Ptr TextOverlayClip
self' Word32
color
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetColorMethodInfo
instance (signature ~ (Word32 -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetColorMethodInfo a signature where
overloadedMethod = textOverlayClipSetColor
instance O.OverloadedMethodInfo TextOverlayClipSetColorMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetColor",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetColor"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_font_desc" ges_text_overlay_clip_set_font_desc ::
Ptr TextOverlayClip ->
CString ->
IO ()
textOverlayClipSetFontDesc ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> Maybe (T.Text)
-> m ()
textOverlayClipSetFontDesc :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> Maybe Text -> m ()
textOverlayClipSetFontDesc a
self Maybe Text
fontDesc = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
maybeFontDesc <- case Maybe Text
fontDesc of
Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
Just Text
jFontDesc -> do
CString
jFontDesc' <- Text -> IO CString
textToCString Text
jFontDesc
CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jFontDesc'
Ptr TextOverlayClip -> CString -> IO ()
ges_text_overlay_clip_set_font_desc Ptr TextOverlayClip
self' CString
maybeFontDesc
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeFontDesc
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetFontDescMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetFontDescMethodInfo a signature where
overloadedMethod = textOverlayClipSetFontDesc
instance O.OverloadedMethodInfo TextOverlayClipSetFontDescMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetFontDesc",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetFontDesc"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_halign" ges_text_overlay_clip_set_halign ::
Ptr TextOverlayClip ->
CUInt ->
IO ()
textOverlayClipSetHalign ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> GES.Enums.TextHAlign
-> m ()
textOverlayClipSetHalign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> TextHAlign -> m ()
textOverlayClipSetHalign a
self TextHAlign
halign = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let halign' :: CUInt
halign' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (TextHAlign -> Int) -> TextHAlign -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. TextHAlign -> Int
forall a. Enum a => a -> Int
fromEnum) TextHAlign
halign
Ptr TextOverlayClip -> CUInt -> IO ()
ges_text_overlay_clip_set_halign Ptr TextOverlayClip
self' CUInt
halign'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetHalignMethodInfo
instance (signature ~ (GES.Enums.TextHAlign -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetHalignMethodInfo a signature where
overloadedMethod = textOverlayClipSetHalign
instance O.OverloadedMethodInfo TextOverlayClipSetHalignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetHalign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetHalign"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_text" ges_text_overlay_clip_set_text ::
Ptr TextOverlayClip ->
CString ->
IO ()
textOverlayClipSetText ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> Maybe (T.Text)
-> m ()
textOverlayClipSetText :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> Maybe Text -> m ()
textOverlayClipSetText a
self Maybe Text
text = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
CString
maybeText <- case Maybe Text
text of
Maybe Text
Nothing -> CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
forall a. Ptr a
nullPtr
Just Text
jText -> do
CString
jText' <- Text -> IO CString
textToCString Text
jText
CString -> IO CString
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return CString
jText'
Ptr TextOverlayClip -> CString -> IO ()
ges_text_overlay_clip_set_text Ptr TextOverlayClip
self' CString
maybeText
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
maybeText
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetTextMethodInfo
instance (signature ~ (Maybe (T.Text) -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetTextMethodInfo a signature where
overloadedMethod = textOverlayClipSetText
instance O.OverloadedMethodInfo TextOverlayClipSetTextMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetText",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetText"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_valign" ges_text_overlay_clip_set_valign ::
Ptr TextOverlayClip ->
CUInt ->
IO ()
textOverlayClipSetValign ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> GES.Enums.TextVAlign
-> m ()
textOverlayClipSetValign :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> TextVAlign -> m ()
textOverlayClipSetValign a
self TextVAlign
valign = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let valign' :: CUInt
valign' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (TextVAlign -> Int) -> TextVAlign -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. TextVAlign -> Int
forall a. Enum a => a -> Int
fromEnum) TextVAlign
valign
Ptr TextOverlayClip -> CUInt -> IO ()
ges_text_overlay_clip_set_valign Ptr TextOverlayClip
self' CUInt
valign'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetValignMethodInfo
instance (signature ~ (GES.Enums.TextVAlign -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetValignMethodInfo a signature where
overloadedMethod = textOverlayClipSetValign
instance O.OverloadedMethodInfo TextOverlayClipSetValignMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetValign",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetValign"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_xpos" ges_text_overlay_clip_set_xpos ::
Ptr TextOverlayClip ->
CDouble ->
IO ()
textOverlayClipSetXpos ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> Double
-> m ()
textOverlayClipSetXpos :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> Double -> m ()
textOverlayClipSetXpos a
self Double
position = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let position' :: CDouble
position' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
position
Ptr TextOverlayClip -> CDouble -> IO ()
ges_text_overlay_clip_set_xpos Ptr TextOverlayClip
self' CDouble
position'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetXposMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetXposMethodInfo a signature where
overloadedMethod = textOverlayClipSetXpos
instance O.OverloadedMethodInfo TextOverlayClipSetXposMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetXpos",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetXpos"
})
#endif
foreign import ccall "ges_text_overlay_clip_set_ypos" ges_text_overlay_clip_set_ypos ::
Ptr TextOverlayClip ->
CDouble ->
IO ()
textOverlayClipSetYpos ::
(B.CallStack.HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a
-> Double
-> m ()
textOverlayClipSetYpos :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsTextOverlayClip a) =>
a -> Double -> m ()
textOverlayClipSetYpos a
self Double
position = IO () -> m ()
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr TextOverlayClip
self' <- a -> IO (Ptr TextOverlayClip)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
let position' :: CDouble
position' = Double -> CDouble
forall a b. (Real a, Fractional b) => a -> b
realToFrac Double
position
Ptr TextOverlayClip -> CDouble -> IO ()
ges_text_overlay_clip_set_ypos Ptr TextOverlayClip
self' CDouble
position'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data TextOverlayClipSetYposMethodInfo
instance (signature ~ (Double -> m ()), MonadIO m, IsTextOverlayClip a) => O.OverloadedMethod TextOverlayClipSetYposMethodInfo a signature where
overloadedMethod = textOverlayClipSetYpos
instance O.OverloadedMethodInfo TextOverlayClipSetYposMethodInfo a where
overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
O.resolvedSymbolName = "GI.GES.Objects.TextOverlayClip.textOverlayClipSetYpos",
O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-ges-1.0.4/docs/GI-GES-Objects-TextOverlayClip.html#v:textOverlayClipSetYpos"
})
#endif