gi-gtksource-3.0.16: GtkSource bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.Map

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Map Source #

Memory-managed wrapper type.

Constructors

Map (ManagedPtr Map) 
Instances
GObject Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

Methods

gobjectType :: Map -> IO GType #

IsImplementorIface Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsObject Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsTextView Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsWidget Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsContainer Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsScrollable Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsBuildable Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsView Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsMap Map Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

class GObject o => IsMap o Source #

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

Instances
(GObject a, (UnknownAncestorError Map a :: Constraint)) => IsMap a Source # 
Instance details

Defined in GI.GtkSource.Objects.Map

IsMap Map 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

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 ]