Poppler.Layer

g GObject.Object GObject.Object Poppler.Layer Poppler.Layer GObject.Object->Poppler.Layer

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_radio_button_group_id ()

get_title ()

hide ()

is_parent ()

is_visible ()

show ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Poppler.Layer(**kwargs)
Bases:

GObject.Object

Abstract:

No

A Poppler.Document layer.

Since 25.06 this type supports g_autoptr

get_radio_button_group_id()
Returns:

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

Return type:

int

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

Added in version 0.12.

get_title()
Returns:

a string containing the title of the layer

Return type:

str

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

Added in version 0.12.

hide()

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

Added in version 0.12.

is_parent()
Returns:

True if self is a parent layer

Return type:

bool

Returns whether self is parent of other nested layers.

Added in version 0.12.

is_visible()
Returns:

True if self is visible

Return type:

bool

Returns whether self is visible

Added in version 0.12.

show()

Shows self

Added in version 0.12.