Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
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
- noMovie :: Maybe Movie
- movieGetFilename :: (HasCallStack, MonadIO m, IsMovie a) => a -> m Text
- movieGetPlayMode :: (HasCallStack, MonadIO m, IsMovie a) => a -> m MoviePlayMode
- 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
GObject Movie Source # | |
Defined in GI.Poppler.Objects.Movie gobjectType :: IO GType # | |
HasParentTypes Movie Source # | |
Defined in GI.Poppler.Objects.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
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
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