Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype Movie = Movie (ManagedPtr Movie)
- class (GObject o, IsDescendantOf Movie o) => IsMovie o
- toMovie :: (MonadIO m, IsMovie o) => o -> m Movie
- movieGetAspect :: (HasCallStack, MonadIO m, IsMovie a) => a -> Int32 -> Int32 -> m ()
- movieGetDuration :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Word64
- movieGetFilename :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Text
- movieGetPlayMode :: (HasCallStack, MonadIO m, IsMovie a) => a -> m MoviePlayMode
- movieGetRate :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Double
- movieGetRotationAngle :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Word16
- movieGetStart :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Word64
- movieGetVolume :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Double
- movieIsSynchronous :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Bool
- movieNeedPoster :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Bool
- movieShowControls :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Bool
Exported types
Memory-managed wrapper type.
Instances
Eq Movie Source # | |
GObject Movie Source # | |
Defined in GI.Poppler.Objects.Movie | |
ManagedPtrNewtype Movie Source # | |
Defined in GI.Poppler.Objects.Movie toManagedPtr :: Movie -> ManagedPtr Movie | |
TypedObject Movie Source # | |
Defined in GI.Poppler.Objects.Movie | |
HasParentTypes Movie Source # | |
Defined in GI.Poppler.Objects.Movie | |
IsGValue (Maybe Movie) Source # | Convert |
Defined in GI.Poppler.Objects.Movie gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Movie -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Movie) | |
type ParentTypes Movie Source # | |
Defined in GI.Poppler.Objects.Movie |
class (GObject o, IsDescendantOf Movie o) => IsMovie o Source #
Instances
(GObject o, IsDescendantOf Movie o) => IsMovie o Source # | |
Defined in GI.Poppler.Objects.Movie |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, isSynchronous, needPoster, notify, notifyByPspec, ref, refSink, runDispose, showControls, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAspect, getData, getDuration, getFilename, getPlayMode, getProperty, getQdata, getRate, getRotationAngle, getStart, getVolume.
Setters
getAspect
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m () |
Returns the dimensions of the movie's bounding box (in pixels). The respective PDF movie dictionary entry is optional; if missing, -1x-1 will be returned.
Since: 0.89
getDuration
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Word64 | Returns: the duration of the movie playback (in ns) |
Returns the duration of the movie playback
Since: 0.80
getFilename
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Text | Returns: a local filename, return value is owned by |
Returns the local filename identifying a self-describing movie file
Since: 0.14
getPlayMode
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m MoviePlayMode | Returns: a |
Returns the play mode of popplerMovie
.
Since: 0.54
getRate
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Double | Returns: the relative speed of the movie (1 means no change) |
Returns the relative speed of the movie
Since: 0.80
getRotationAngle
movieGetRotationAngle Source #
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Word16 | Returns: the number of degrees the movie should be rotated (positive, multiples of 90: 0, 90, 180, 270) |
Returns the rotation angle
Since: 0.80
getStart
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Word64 | Returns: the start position of the movie playback (in ns) |
Returns the start position of the movie playback
Since: 0.80
getVolume
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Double | Returns: volume setting for the movie (0.0 - 1.0) |
Returns the playback audio volume
Since: 0.80
isSynchronous
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Bool |
Returns whether the user must wait for the movie to be finished before the PDF viewer accepts any interactive action
Since: 0.80
needPoster
:: (HasCallStack, MonadIO m, IsMovie a) | |
=> a |
|
-> m Bool |
Returns whether a poster image representing the Movie shall be displayed. The poster image must be retrieved from the movie file.
Since: 0.14