Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Base class for timeline data serialization and deserialization.
Synopsis
- newtype Formatter = Formatter (ManagedPtr Formatter)
- class (GObject o, IsDescendantOf Formatter o) => IsFormatter o
- toFormatter :: (MonadIO m, IsFormatter o) => o -> m Formatter
- formatterCanLoadUri :: (HasCallStack, MonadIO m) => Text -> m ()
- formatterCanSaveUri :: (HasCallStack, MonadIO m) => Text -> m ()
- formatterGetDefault :: (HasCallStack, MonadIO m) => m Asset
- formatterLoadFromUri :: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) => a -> b -> Text -> m ()
- formatterSaveToUri :: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) => a -> b -> Text -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Formatter Source # | |
GObject Formatter Source # | |
Defined in GI.GES.Objects.Formatter | |
ManagedPtrNewtype Formatter Source # | |
Defined in GI.GES.Objects.Formatter toManagedPtr :: Formatter -> ManagedPtr Formatter | |
TypedObject Formatter Source # | |
Defined in GI.GES.Objects.Formatter | |
HasParentTypes Formatter Source # | |
Defined in GI.GES.Objects.Formatter | |
IsGValue (Maybe Formatter) Source # | Convert |
Defined in GI.GES.Objects.Formatter gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Formatter -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Formatter) | |
type ParentTypes Formatter Source # | |
Defined in GI.GES.Objects.Formatter |
class (GObject o, IsDescendantOf Formatter o) => IsFormatter o Source #
Type class for types which can be safely cast to Formatter
, for instance with toFormatter
.
Instances
(GObject o, IsDescendantOf Formatter o) => IsFormatter o Source # | |
Defined in GI.GES.Objects.Formatter |
toFormatter :: (MonadIO m, IsFormatter o) => o -> m Formatter Source #
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, loadFromUri, notify, notifyByPspec, ref, refSink, runDispose, saveToUri, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAsset, getData, getId, getProperty, getQdata.
Setters
canLoadUri
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m () | (Can throw |
canSaveUri
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m () | (Can throw |
getDefault
:: (HasCallStack, MonadIO m) | |
=> m Asset | Returns: The |
loadFromUri
:: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) | |
=> a |
|
-> b |
|
-> Text |
|
-> m () | (Can throw |
Deprecated: (Since version 1.18)Use gesTimelineLoadFromUri
Load data from the given URI into timeline.
saveToUri
:: (HasCallStack, MonadIO m, IsFormatter a, IsTimeline b) | |
=> a |
|
-> b |
|
-> Text |
|
-> Bool |
|
-> m () | (Can throw |
Deprecated: (Since version 1.18)Use gesTimelineSaveToUri
Save data from timeline to the given URI.