Poppler.LayersIter

Fields

None

Methods

class

new (document)

copy ()

free ()

get_child ()

get_layer ()

get_title ()

next ()

Details

class Poppler.LayersIter
classmethod new(document)
Parameters:

document (Poppler.Document) – a Poppler.Document

Return type:

Poppler.LayersIter

New in version 0.12.

copy()
Returns:

a new Poppler.LayersIter

Return type:

Poppler.LayersIter

Creates a new Poppler.LayersIter as a copy of self. This must be freed with Poppler.LayersIter.free().

free()

Frees self.

New in version 0.12.

get_child()
Returns:

a new Poppler.LayersIter, or None

Return type:

Poppler.LayersIter

Returns a newly created child of self, or None if the iter has no child. See Poppler.LayersIter.new() for more information on this function.

New in version 0.12.

get_layer()
Returns:

a new Poppler.Layer, or None if there isn’t any layer associated with self

Return type:

Poppler.Layer

Returns the Poppler.Layer associated with self.

New in version 0.12.

get_title()
Returns:

a new string containing the self's title or None if self doesn’t have a title. The returned string should be freed with GLib.free() when no longer needed.

Return type:

str

Returns the title associated with self. It must be freed with GLib.free().

New in version 0.12.

next()
Returns:

True, if self was set to the next action

Return type:

bool

Sets self to point to the next action at the current level, if valid. See Poppler.LayersIter.new() for more information.

New in version 0.12.