gi-poppler-0.18.18: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Objects.Layer

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Layer Source #

Memory-managed wrapper type.

Constructors

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

Defined in GI.Poppler.Objects.Layer

Methods

gobjectType :: IO GType #

HasParentTypes Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

type ParentTypes Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

type ParentTypes Layer = Object ': ([] :: [Type])

class (GObject o, IsDescendantOf Layer o) => IsLayer o Source #

Type class for types which can be safely cast to Layer, for instance with toLayer.

Instances
(GObject o, IsDescendantOf Layer o) => IsLayer o Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

toLayer :: (MonadIO m, IsLayer o) => o -> m Layer Source #

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

noLayer :: Maybe Layer Source #

A convenience alias for Nothing :: Maybe Layer.

Methods

getRadioButtonGroupId

layerGetRadioButtonGroupId Source #

Arguments

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

layer: a Layer

-> m Int32

Returns: the ID of the radio button group associated with layer, or 0 if the layer is not associated to any radio button group

Returns the numeric ID the radio button group associated with layer.

Since: 0.12

getTitle

layerGetTitle Source #

Arguments

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

layer: a Layer

-> m Text

Returns: a string containing the title of the layer

Returns the name of the layer suitable for presentation as a title in a viewer's GUI

Since: 0.12

hide

layerHide Source #

Arguments

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

layer: a Layer

-> m () 

Hides layer. If layer is the parent of other nested layers, such layers will be also hidden and will be blocked until layer is shown again

Since: 0.12

isParent

layerIsParent Source #

Arguments

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

layer: a Layer

-> m Bool

Returns: True if layer is a parent layer

Returns whether layer is parent of other nested layers.

Since: 0.12

isVisible

layerIsVisible Source #

Arguments

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

layer: a Layer

-> m Bool

Returns: True if layer is visible

Returns whether layer is visible

Since: 0.12

show

layerShow Source #

Arguments

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

layer: a Layer

-> m () 

Shows layer

Since: 0.12