| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GtkSource.Objects.Map
Description
- newtype Map = Map (ManagedPtr Map)
- class GObject o => IsMap o
- toMap :: (MonadIO m, IsMap o) => o -> m Map
- noMap :: Maybe Map
- mapGetView :: (HasCallStack, MonadIO m, IsMap a) => a -> m (Maybe View)
- mapNew :: (HasCallStack, MonadIO m) => m Map
- mapSetView :: (HasCallStack, MonadIO m, IsMap a, IsView b) => a -> b -> m ()
- clearMapFontDesc :: (MonadIO m, IsMap o) => o -> m ()
- constructMapFontDesc :: IsMap o => FontDescription -> IO (GValueConstruct o)
- getMapFontDesc :: (MonadIO m, IsMap o) => o -> m (Maybe FontDescription)
- setMapFontDesc :: (MonadIO m, IsMap o) => o -> FontDescription -> m ()
- constructMapView :: (IsMap o, IsView a) => a -> IO (GValueConstruct o)
- getMapView :: (MonadIO m, IsMap o) => o -> m (Maybe View)
- setMapView :: (MonadIO m, IsMap o, IsView a) => o -> a -> m ()
Exported types
Constructors
| Map (ManagedPtr Map) |
Methods
getView
Gets the Map:view property, which is the view this widget is mapping.
Since: 3.18
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m Map | Returns: a new |
Creates a new Map.
Since: 3.18
setView
Sets the view that map will be doing the mapping to.
Since: 3.18
Properties
fontDesc
clearMapFontDesc :: (MonadIO m, IsMap o) => o -> m () Source #
constructMapFontDesc :: IsMap o => FontDescription -> IO (GValueConstruct o) Source #
getMapFontDesc :: (MonadIO m, IsMap o) => o -> m (Maybe FontDescription) Source #
setMapFontDesc :: (MonadIO m, IsMap o) => o -> FontDescription -> m () Source #
view
constructMapView :: (IsMap o, IsView a) => a -> IO (GValueConstruct o) Source #