gi-gtksource-3.0.22: GtkSource bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.Map

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Map Source #

Memory-managed wrapper type.

Constructors

Map (ManagedPtr Map) 

Instances

Instances details
Eq Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

Methods

(==) :: Map -> Map -> Bool #

(/=) :: Map -> Map -> Bool #

IsGValue Map Source #

Convert Map to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.GtkSource.Objects.Map

GObject Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

Methods

gobjectType :: IO GType #

HasParentTypes Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

type ParentTypes Map Source # 
Instance details

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 #

Type class for types which can be safely cast to Map, for instance with toMap.

Instances

Instances details
(GObject o, IsDescendantOf Map o) => IsMap o Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

toMap :: (MonadIO m, IsMap o) => o -> m Map Source #

Cast to Map, for types for which this is known to be safe. For general casts, use castTo.

noMap :: Maybe Map Source #

A convenience alias for Nothing :: Maybe Map.

Methods

Overloaded methods

getView

mapGetView Source #

Arguments

:: (HasCallStack, MonadIO m, IsMap a) 
=> a

map: a Map.

-> m (Maybe View)

Returns: a View or Nothing.

Gets the Map:view property, which is the view this widget is mapping.

Since: 3.18

new

mapNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Map

Returns: a new Map.

Creates a new Map.

Since: 3.18

setView

mapSetView Source #

Arguments

:: (HasCallStack, MonadIO m, IsMap a, IsView b) 
=> a

map: a Map

-> b

view: a View

-> m () 

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 ]