gi-poppler-0.18.29: Poppler bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Poppler.Objects.Layer

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Layer Source #

Memory-managed wrapper type.

Constructors

Layer (ManagedPtr Layer) 

Instances

Instances details
Eq Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

Methods

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

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

GObject Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

ManagedPtrNewtype Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

Methods

toManagedPtr :: Layer -> ManagedPtr Layer

TypedObject Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

Methods

glibType :: IO GType

HasParentTypes Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

IsGValue (Maybe Layer) Source #

Convert Layer to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Objects.Layer

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Layer -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Layer)

type ParentTypes Layer Source # 
Instance details

Defined in GI.Poppler.Objects.Layer

type ParentTypes Layer = '[Object]

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

Instances details
(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.

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