EvinceDocument.AnnotationMarkup

g EvinceDocument.AnnotationMarkup EvinceDocument.AnnotationMarkup GObject.GInterface GObject.GInterface GObject.GInterface->EvinceDocument.AnnotationMarkup

Implementations:

EvinceDocument.AnnotationAttachment, EvinceDocument.AnnotationText, EvinceDocument.AnnotationTextMarkup

Methods

can_have_popup ()

get_label ()

get_opacity ()

get_popup_is_open ()

get_rectangle (ev_rect)

has_popup ()

set_has_popup (has_popup)

set_label (label)

set_opacity (opacity)

set_popup_is_open (is_open)

set_rectangle (ev_rect)

Virtual Methods

None

Properties

Name

Type

Flags

Short Description

can-have-popup

bool

r/w

Whether it is allowed to have a popup window for this type of markup annotation

has-popup

bool

r/w

Whether the markup annotation has a popup window associated

label

str

r/w

Label of the markup annotation

opacity

float

r/w

Opacity of the markup annotation

popup-is-open

bool

r/w

Whether the popup associated to the markup annotation is open

rectangle

EvinceDocument.Rectangle

r/w

The Rectangle of the popup associated to the markup annotation

Signals

None

Fields

None

Class Details

class EvinceDocument.AnnotationMarkup
Bases:

GObject.GInterface

Structure:

EvinceDocument.AnnotationMarkupInterface

can_have_popup()
Return type:

bool

get_label()
Return type:

str

get_opacity()
Return type:

float

get_popup_is_open()
Return type:

bool

get_rectangle(ev_rect)
Parameters:

ev_rect (EvinceDocument.Rectangle) –

has_popup()
Return type:

bool

set_has_popup(has_popup)
Parameters:

has_popup (bool) –

Return type:

bool

set_label(label)
Parameters:

label (str) –

Return type:

bool

set_opacity(opacity)
Parameters:

opacity (float) –

Return type:

bool

set_popup_is_open(is_open)
Parameters:

is_open (bool) –

Return type:

bool

set_rectangle(ev_rect)
Parameters:

ev_rect (EvinceDocument.Rectangle) –

Return type:

bool

Property Details

EvinceDocument.AnnotationMarkup.props.can_have_popup
Name:

can-have-popup

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether it is allowed to have a popup window for this type of markup annotation

EvinceDocument.AnnotationMarkup.props.has_popup
Name:

has-popup

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether the markup annotation has a popup window associated

EvinceDocument.AnnotationMarkup.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Label of the markup annotation

EvinceDocument.AnnotationMarkup.props.opacity
Name:

opacity

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

Opacity of the markup annotation

EvinceDocument.AnnotationMarkup.props.popup_is_open
Name:

popup-is-open

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the popup associated to the markup annotation is open

EvinceDocument.AnnotationMarkup.props.rectangle
Name:

rectangle

Type:

EvinceDocument.Rectangle

Default Value:

None

Flags:

READABLE, WRITABLE

The Rectangle of the popup associated to the markup annotation