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 Map = Map (ManagedPtr Map)
- class (GObject o, IsDescendantOf Map 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.
Map (ManagedPtr Map) |
Instances
Eq Map Source # | |
IsGValue Map Source # | Convert |
GObject Map Source # | |
Defined in GI.GtkSource.Objects.Map gobjectType :: IO GType # | |
HasParentTypes Map Source # | |
Defined in GI.GtkSource.Objects.Map | |
type ParentTypes Map Source # | |
Defined in GI.GtkSource.Objects.Map type ParentTypes Map = '[View, TextView, Container, Widget, Object, ImplementorIface, Buildable, Scrollable] |
class (GObject o, IsDescendantOf Map o) => IsMap o Source #
Instances
(GObject o, IsDescendantOf Map o) => IsMap o Source # | |
Defined in GI.GtkSource.Objects.Map |
Methods
Overloaded methods
getView
Gets the Map
:view
property, which is the view this widget is mapping.
Since: 3.18
new
:: (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
set
map [ #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
set
map [ #view:=
value ]