PapersDocument.AnnotationTextMarkup

g GObject.Object GObject.Object PapersDocument.Annotation PapersDocument.Annotation GObject.Object->PapersDocument.Annotation PapersDocument.AnnotationMarkup PapersDocument.AnnotationMarkup PapersDocument.Annotation->PapersDocument.AnnotationMarkup PapersDocument.AnnotationTextMarkup PapersDocument.AnnotationTextMarkup PapersDocument.AnnotationMarkup->PapersDocument.AnnotationTextMarkup

Subclasses:

None

Methods

Inherited:

PapersDocument.AnnotationMarkup (11), PapersDocument.Annotation (20), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

highlight_new (page)

class

new (page, markup_type)

class

squiggly_new (page)

class

strike_out_new (page)

class

underline_new (page)

get_markup_type ()

set_markup_type (markup_type)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

PapersDocument.AnnotationMarkup (6), PapersDocument.Annotation (8)

Name

Type

Flags

Short Description

type

PapersDocument.AnnotationTextMarkupType

r/w/c

The text markup annotation type

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class PapersDocument.AnnotationTextMarkup(**kwargs)
Bases:

PapersDocument.AnnotationMarkup

Abstract:

No

Structure:

PapersDocument.AnnotationTextMarkupClass

classmethod highlight_new(page)
Parameters:

page (PapersDocument.Page) –

Return type:

PapersDocument.Annotation

classmethod new(page, markup_type)
Parameters:
Return type:

PapersDocument.Annotation

classmethod squiggly_new(page)
Parameters:

page (PapersDocument.Page) –

Return type:

PapersDocument.Annotation

classmethod strike_out_new(page)
Parameters:

page (PapersDocument.Page) –

Return type:

PapersDocument.Annotation

classmethod underline_new(page)
Parameters:

page (PapersDocument.Page) –

Return type:

PapersDocument.Annotation

get_markup_type()
Return type:

PapersDocument.AnnotationTextMarkupType

set_markup_type(markup_type)
Parameters:

markup_type (PapersDocument.AnnotationTextMarkupType) –

Return type:

bool

Property Details

PapersDocument.AnnotationTextMarkup.props.type
Name:

type

Type:

PapersDocument.AnnotationTextMarkupType

Default Value:

PapersDocument.AnnotationTextMarkupType.HIGHLIGHT

Flags:

READABLE, WRITABLE, CONSTRUCT

The text markup annotation type