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

GI.Poppler.Structs.LayersIter

Description

No description available in the introspection data.

Synopsis

Exported types

newtype LayersIter Source #

Memory-managed wrapper type.

Constructors

LayersIter (ManagedPtr LayersIter) 

Instances

Instances details
Eq LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

GBoxed LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

ManagedPtrNewtype LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

Methods

toManagedPtr :: LayersIter -> ManagedPtr LayersIter

TypedObject LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

Methods

glibType :: IO GType

HasParentTypes LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

IsGValue (Maybe LayersIter) Source #

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

Instance details

Defined in GI.Poppler.Structs.LayersIter

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes LayersIter Source # 
Instance details

Defined in GI.Poppler.Structs.LayersIter

type ParentTypes LayersIter = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free, next.

Getters

getChild, getLayer, getTitle.

Setters

None.

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