gi-poppler-0.18.21: Poppler bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.LayersIter

Description

No description available in the introspection data.

Synopsis

Exported types

newtype LayersIter Source #

Memory-managed wrapper type.

Instances

Instances details
Eq LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

BoxedObject LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

IsGValue LayersIter Source #

Convert LayersIter to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Structs.LayersIter

Methods

Overloaded methods

copy

layersIterCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

iter: a LayersIter

-> m LayersIter

Returns: a new LayersIter

Since 0.12

Creates a new LayersIter as a copy of iter. This must be freed with layersIterFree.

free

layersIterFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

iter: a LayersIter

-> m () 

Frees iter.

Since: 0.12

getChild

layersIterGetChild Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

parent: a LayersIter

-> m LayersIter

Returns: a new LayersIter, or Nothing

Returns a newly created child of parent, or Nothing if the iter has no child. See layersIterNew for more information on this function.

Since: 0.12

getLayer

layersIterGetLayer Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

iter: a LayersIter

-> m Layer

Returns: a new Layer, or Nothing if there isn't any layer associated with iter

Returns the Layer associated with iter.

Since: 0.12

getTitle

layersIterGetTitle Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

iter: a LayersIter

-> m Text

Returns: a new string containing the iter's title or Nothing if iter doesn't have a title. The returned string should be freed with free when no longer needed.

Returns the title associated with iter. It must be freed with free.

Since: 0.12

new

layersIterNew Source #

Arguments

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

document: a Document

-> m LayersIter 

No description available in the introspection data.

Since: 0.12

next

layersIterNext Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LayersIter

iter: a LayersIter

-> m Bool

Returns: True, if iter was set to the next action

Sets iter to point to the next action at the current level, if valid. See layersIterNew for more information.

Since: 0.12