| 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
No description available in the introspection data.
Synopsis
- 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
Memory-managed wrapper type.
Constructors
| Map (ManagedPtr Map) |
Instances
| GObject Map Source # | |
Defined in GI.GtkSource.Objects.Map Methods gobjectType :: Map -> IO GType # | |
| IsImplementorIface Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsObject Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsTextView Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsWidget Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsContainer Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsScrollable Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsBuildable Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsView Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsMap Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
class GObject o => IsMap o Source #
Instances
| (GObject a, (UnknownAncestorError Map a :: Constraint)) => IsMap a Source # | |
Defined in GI.GtkSource.Objects.Map | |
| IsMap Map Source # | |
Defined in GI.GtkSource.Objects.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
No description available in the introspection data.
clearMapFontDesc :: (MonadIO m, IsMap o) => o -> m () Source #
Set the value of the “font-desc” property to Nothing.
When overloading is enabled, this is equivalent to
clear #fontDesc
constructMapFontDesc :: IsMap o => FontDescription -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “font-desc” property. This is rarely needed directly, but it is used by new.
getMapFontDesc :: (MonadIO m, IsMap o) => o -> m (Maybe FontDescription) Source #
Get the value of the “font-desc” property.
When overloading is enabled, this is equivalent to
get map #fontDesc
setMapFontDesc :: (MonadIO m, IsMap o) => o -> FontDescription -> m () Source #
Set the value of the “font-desc” property.
When overloading is enabled, this is equivalent to
setmap [ #fontDesc:=value ]
view
No description available in the introspection data.
constructMapView :: (IsMap o, IsView a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “view” property. This is rarely needed directly, but it is used by new.
getMapView :: (MonadIO m, IsMap o) => o -> m (Maybe View) Source #
Get the value of the “view” property.
When overloading is enabled, this is equivalent to
get map #view
setMapView :: (MonadIO m, IsMap o, IsView a) => o -> a -> m () Source #
Set the value of the “view” property.
When overloading is enabled, this is equivalent to
setmap [ #view:=value ]