PapersDocument.AnnotationAttachment
Description: Reference for PapersDocument.AnnotationAttachment

### Class

# PapersDocumentAnnotationAttachment

#### Description

    final class PapersDocument.AnnotationAttachment : PapersDocument.AnnotationMarkup
    {
      /* No available fields */
    }

No description available.

#### Ancestors

- PpsAnnotationMarkup
- PpsAnnotation
- GObject

#### Constructors

###### pps_annotation_attachment_new

No description available.

#### Instance methods

###### pps_annotation_attachment_get_attachment

No description available.

###### pps_annotation_attachment_set_attachment

No description available.

##### Methods inherited from PpsAnnotationMarkup (11)

###### pps_annotation_markup_can_have_popup

No description available.

###### pps_annotation_markup_get_label

No description available.

###### pps_annotation_markup_get_opacity

No description available.

###### pps_annotation_markup_get_popup_is_open

No description available.

###### pps_annotation_markup_get_rectangle

No description available.

###### pps_annotation_markup_has_popup

No description available.

###### pps_annotation_markup_set_has_popup

No description available.

###### pps_annotation_markup_set_label

No description available.

###### pps_annotation_markup_set_opacity

No description available.

###### pps_annotation_markup_set_popup_is_open

No description available.

###### pps_annotation_markup_set_rectangle

No description available.

##### Methods inherited from PpsAnnotation (19)

###### pps_annotation_equal

Compare `annot` and `other`.

###### pps_annotation_get_annotation_type

No description available.

###### pps_annotation_get_area

Gets the area of `annot`.

since: 3.18

###### pps_annotation_get_border_width

Gets the border width of `annot`.

since: 48.0

###### pps_annotation_get_contents

Get the contents of `annot`. The contents of `annot` is the text that is displayed in the annotation, or an alternate description of the annotation’s content for non-text annotations.

###### pps_annotation_get_hidden

Gets the hidden flag of `annot`, i.e. whether it is hidden or not.

since: 48.0

###### pps_annotation_get_modified

Get the last modification date of `annot`.

###### pps_annotation_get_name

Get the name of `annot`. The name of the annotation is a string that uniquely indenftifies `annot` amongs all the annotations in the same page.

###### pps_annotation_get_page

Get the page where `annot` appears.

###### pps_annotation_get_page_index

Get the index of the page where `annot` appears. Note that the index is 0 based.

###### pps_annotation_get_rgba

Gets the color of `annot`.

since: 3.6

###### pps_annotation_set_area

Set the area of the annotation to `area`.

since: 3.18

###### pps_annotation_set_border_width

Set the area of the annotation to `area`.

since: 48.0

###### pps_annotation_set_contents

Set the contents of `annot`. You can monitor changes in the annotation’s contents by connecting to notify::contents signal of `annot`.

###### pps_annotation_set_hidden

Set whether the annotation is hidden or not.

since: 48.0

###### pps_annotation_set_modified

Set the last modification date of `annot` to `modified`. To set the last modification date using a #time_t, use `pps_annotation_set_modified_from_time_t()` instead. You can monitor changes to the last modification date by connecting to the notify::modified signal on `annot`.

###### pps_annotation_set_modified_from_time_t

Set the last modification date of `annot` to `utime`. You can monitor changes to the last modification date by connecting to the notify::modified sinal on `annot`. For the time-format used, see pps_document_misc_format_datetime().

###### pps_annotation_set_name

Set the name of `annot`. You can monitor changes of the annotation name by connecting to the notify::name signal on `annot`.

###### pps_annotation_set_rgba

Set the color of the annotation to `rgba`.

since: 3.6

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### PapersDocument.AnnotationAttachment:attachment

No description available.

##### Properties inherited from PpsAnnotationMarkup (6)

###### PapersDocument.AnnotationMarkup:can-have-popup

No description available.

###### PapersDocument.AnnotationMarkup:has-popup

No description available.

###### PapersDocument.AnnotationMarkup:label

No description available.

###### PapersDocument.AnnotationMarkup:opacity

No description available.

###### PapersDocument.AnnotationMarkup:popup-is-open

No description available.

###### PapersDocument.AnnotationMarkup:rectangle

No description available.

##### Properties inherited from PpsAnnotation (8)

###### PapersDocument.Annotation:area

The area of the page where the annotation is placed.

###### PapersDocument.Annotation:border-width

The border width of the annotation. This is only partially implemented, as there is no way to set the color. Thus, it may only be used for padding at this moment.

since: 48.0

###### PapersDocument.Annotation:contents

No description available.

###### PapersDocument.Annotation:hidden

A flag to hide an annotation from the view.

since: 48.0

###### PapersDocument.Annotation:modified

No description available.

###### PapersDocument.Annotation:name

No description available.

###### PapersDocument.Annotation:page

No description available.

###### PapersDocument.Annotation:rgba

The colour of the annotation as a `GdkRGBA`.

since: 3.6

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PapersDocumentAnnotationAttachmentClass {
      PpsAnnotationClass parent_class;

    }

No description available.

###### Class members

`parent_class: PpsAnnotationClass`

  No description available.