Class
PapersDocumentAnnotation
Instance methods
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_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_index
Get the index of the page where annot
appears. Note that the index
is 0 based.
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_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
.
Properties
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
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.