Top | ![]() |
![]() |
![]() |
![]() |
EvRectangle * | area | Read / Write |
gpointer | color | Read / Write |
gchar * | contents | Read / Write |
gchar * | modified | Read / Write |
gchar * | name | Read / Write |
EvPage * | page | Write / Construct Only |
GdkRGBA * | rgba | Read / Write |
gboolean | can-have-popup | Read / Write |
gboolean | has-popup | Read / Write |
gchar * | label | Read / Write |
gdouble | opacity | Read / Write |
gboolean | popup-is-open | Read / Write |
EvRectangle * | rectangle | Read / Write |
EvAnnotationTextIcon | icon | Read / Write |
gboolean | is-open | Read / Write |
EvAttachment * | attachment | Read / Write / Construct |
GEnum ├── EvAnnotationTextIcon ╰── EvAnnotationType GInterface ╰── EvAnnotationMarkup GObject ╰── EvAnnotation ├── EvAnnotationAttachment ╰── EvAnnotationText
EvAnnotationText implements EvAnnotationMarkup.
EvAnnotationAttachment implements EvAnnotationMarkup.
EvAnnotationMarkup is implemented by EvAnnotationAttachment and EvAnnotationText.
EvAnnotationType
ev_annotation_get_annotation_type (EvAnnotation *annot
);
gboolean ev_annotation_set_contents (EvAnnotation *annot
,const gchar *contents
);
gboolean ev_annotation_set_modified (EvAnnotation *annot
,const gchar *modified
);
gboolean ev_annotation_set_modified_from_time (EvAnnotation *annot
,GTime utime
);
void ev_annotation_get_color (EvAnnotation *annot
,GdkColor *color
);
ev_annotation_get_color
has been deprecated since version 3.6 and should not be used in newly-written code.
Use ev_annotation_get_rgba()
instead.
gboolean ev_annotation_set_color (EvAnnotation *annot
,const GdkColor *color
);
ev_annotation_set_color
has been deprecated since version 3.6 and should not be used in newly-written code.
Use ev_annotation_set_rgba()
instead.
void ev_annotation_get_rgba (EvAnnotation *annot
,GdkRGBA *rgba
);
Since: 3.6
gboolean ev_annotation_set_rgba (EvAnnotation *annot
,const GdkRGBA *rgba
);
Since: 3.6
gboolean ev_annotation_set_area (EvAnnotation *annot
,const EvRectangle *area
);
Since: 3.18
const gchar *
ev_annotation_markup_get_label (EvAnnotationMarkup *markup
);
gboolean ev_annotation_markup_set_label (EvAnnotationMarkup *markup
,const gchar *label
);
gdouble
ev_annotation_markup_get_opacity (EvAnnotationMarkup *markup
);
gboolean ev_annotation_markup_set_opacity (EvAnnotationMarkup *markup
,gdouble opacity
);
gboolean
ev_annotation_markup_has_popup (EvAnnotationMarkup *markup
);
gboolean ev_annotation_markup_set_has_popup (EvAnnotationMarkup *markup
,gboolean has_popup
);
void ev_annotation_markup_get_rectangle (EvAnnotationMarkup *markup
,EvRectangle *ev_rect
);
gboolean ev_annotation_markup_set_rectangle (EvAnnotationMarkup *markup
,const EvRectangle *ev_rect
);
gboolean
ev_annotation_markup_get_popup_is_open
(EvAnnotationMarkup *markup
);
gboolean ev_annotation_markup_set_popup_is_open (EvAnnotationMarkup *markup
,gboolean is_open
);
EvAnnotationTextIcon
ev_annotation_text_get_icon (EvAnnotationText *text
);
gboolean ev_annotation_text_set_icon (EvAnnotationText *text
,EvAnnotationTextIcon icon
);
gboolean ev_annotation_text_set_is_open (EvAnnotationText *text
,gboolean is_open
);
EvAnnotation * ev_annotation_attachment_new (EvPage *page
,EvAttachment *attachment
);
EvAttachment *
ev_annotation_attachment_get_attachment
(EvAnnotationAttachment *annot
);
gboolean ev_annotation_attachment_set_attachment (EvAnnotationAttachment *annot
,EvAttachment *attachment
);
typedef struct _EvAnnotationMarkupInterface EvAnnotationMarkupInterface;
typedef struct _EvAnnotationAttachmentClass EvAnnotationAttachmentClass;
“area”
property“area” EvRectangle *
The area of the page where the annotation is placed.
Flags: Read / Write
“color”
property “color” gpointer
The annotation color.
EvAnnotation:color
has been deprecated since version 3.6 and should not be used in newly-written code.
Use “rgba” instead.
Flags: Read / Write
“contents”
property “contents” gchar *
The annotation contents.
Flags: Read / Write
Default value: NULL
“modified”
property “modified” gchar *
Last modified date as string.
Flags: Read / Write
Default value: NULL
“name”
property “name” gchar *
The annotation unique name.
Flags: Read / Write
Default value: NULL
“page”
property“page” EvPage *
The page wehere the annotation is.
Flags: Write / Construct Only
“can-have-popup”
property “can-have-popup” gboolean
Whether it is allowed to have a popup window for this type of markup annotation.
Flags: Read / Write
Default value: FALSE
“has-popup”
property “has-popup” gboolean
Whether the markup annotation has a popup window associated.
Flags: Read / Write
Default value: TRUE
“label”
property “label” gchar *
Label of the markup annotation.
Flags: Read / Write
Default value: NULL
“opacity”
property “opacity” gdouble
Opacity of the markup annotation.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
“popup-is-open”
property “popup-is-open” gboolean
Whether the popup associated to the markup annotation is open.
Flags: Read / Write
Default value: FALSE
“rectangle”
property“rectangle” EvRectangle *
The Rectangle of the popup associated to the markup annotation.
Flags: Read / Write
“icon”
property“icon” EvAnnotationTextIcon
The icon fo the text annotation.
Flags: Read / Write
Default value: EV_ANNOTATION_TEXT_ICON_NOTE
“is-open”
property “is-open” gboolean
Whether text annot is initially open.
Flags: Read / Write
Default value: FALSE
“attachment”
property“attachment” EvAttachment *
The attachment of the annotation.
Flags: Read / Write / Construct