Class
EvinceDocumentAnnotationTextMarkup
Constructors
ev_annotation_text_markup_highlight_new
ev_annotation_text_markup_squiggly_new
ev_annotation_text_markup_strike_out_new
ev_annotation_text_markup_underline_new
Instance methods
ev_annotation_text_markup_get_markup_type
ev_annotation_text_markup_set_markup_type
Methods inherited from EvAnnotation (18)
ev_annotation_equal
Compare annot
and other
.
ev_annotation_get_annotation_type
ev_annotation_get_area
Gets the area of annot
.
Available since: 3.18
ev_annotation_get_color
Get the color of annot
.
Deprecated since: 3.6
ev_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.
ev_annotation_get_modified
Get the last modification date of annot
.
ev_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.
ev_annotation_get_page
Get the page where annot
appears.
ev_annotation_get_page_index
Get the index of the page where annot
appears. Note that the index
is 0 based.
ev_annotation_get_rgba
Gets the color of annot
.
Available since: 3.6
ev_annotation_set_area
Set the area of the annotation to area
.
Available since: 3.18
ev_annotation_set_color
Set the color of the annotation to color
. You can monitor
changes to the annotation’s color by connecting to
notify::color signal on annot
.
Deprecated since: 3.6
ev_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
.
ev_annotation_set_modified
Set the last modification date of annot
to modified
. To
set the last modification date using a #time_t, use
ev_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
.
ev_annotation_set_modified_from_time
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 ev_document_misc_format_date().
Deprecated since: 3.42
ev_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 ev_document_misc_format_datetime().
ev_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
.
ev_annotation_set_rgba
Set the color of the annotation to rgba
.
Available since: 3.6
Methods inherited from EvAnnotationMarkup (11)
ev_annotation_markup_can_have_popup
ev_annotation_markup_get_label
ev_annotation_markup_get_opacity
ev_annotation_markup_get_popup_is_open
ev_annotation_markup_get_rectangle
ev_annotation_markup_has_popup
ev_annotation_markup_set_has_popup
ev_annotation_markup_set_label
ev_annotation_markup_set_opacity
ev_annotation_markup_set_popup_is_open
ev_annotation_markup_set_rectangle
Properties
EvinceDocument.AnnotationTextMarkup:type
Properties inherited from EvAnnotation (7)
EvinceDocument.Annotation:area
The area of the page where the annotation is placed.
EvinceDocument.Annotation:color
The colour of the annotation as a GdkColor
.
Deprecated since: 3.6
EvinceDocument.Annotation:contents
EvinceDocument.Annotation:modified
EvinceDocument.Annotation:name
EvinceDocument.Annotation:page
EvinceDocument.Annotation:rgba
The colour of the annotation as a GdkRGBA
.
Available since: 3.6
Properties inherited from EvAnnotationMarkup (6)
EvinceDocument.AnnotationMarkup:can-have-popup
EvinceDocument.AnnotationMarkup:has-popup
EvinceDocument.AnnotationMarkup:label
EvinceDocument.AnnotationMarkup:opacity
EvinceDocument.AnnotationMarkup:popup-is-open
EvinceDocument.AnnotationMarkup:rectangle
Signals
Signals inherited from GObject (1)
GObject.Object::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.