Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
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
- 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 glibType :: IO GType | |
IsGValue Movie Source # | Convert |
Defined in GI.Poppler.Objects.Movie toGValue :: Movie -> IO GValue fromGValue :: GValue -> IO Movie | |
HasParentTypes Movie Source # | |
Defined in GI.Poppler.Objects.Movie | |
type ParentTypes Movie Source # | |
Defined in GI.Poppler.Objects.Movie type ParentTypes Movie = '[Object] |
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
Overloaded methods
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: |
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: |
Returns whether a poster image representing the Movie shall be displayed. The poster image must be retrieved from the movie file.
Since: 0.14