AnnotationAttachment

Constructors

this
this(EvAnnotationAttachment* evAnnotationAttachment, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(Page page, Attachment attachment)

Members

Functions

getAnnotationAttachmentStruct
EvAnnotationAttachment* getAnnotationAttachmentStruct(bool transferOwnership)

Get the main Gtk struct

getAttachment
Attachment getAttachment()
getStruct
void* getStruct()

the main Gtk struct as a void*

setAttachment
bool setAttachment(Attachment attachment)

Mixins

__anonymous
mixin AnnotationMarkupT!(EvAnnotationAttachment)
Undocumented in source.

Static functions

getType
GType getType()

Variables

evAnnotationAttachment
EvAnnotationAttachment* evAnnotationAttachment;

the main Gtk struct

Inherited Members

From Annotation

evAnnotation
EvAnnotation* evAnnotation;

the main Gtk struct

getAnnotationStruct
EvAnnotation* getAnnotationStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
equal
bool equal(Annotation other)

Compare @annot and @other.

getAnnotationType
EvAnnotationType getAnnotationType()
getArea
void getArea(Rectangle area)
getColor
void getColor(Color color)

Get the color of @annot.

getContents
string getContents()

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

getModified
string getModified()

Get the last modification date of @annot.

getName
string getName()

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.

getPage
Page getPage()

Get the page where @annot appears.

getPageIndex
uint getPageIndex()

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

getRgba
void getRgba(RGBA rgba)

Gets the color of @annot.

setArea
bool setArea(Rectangle area)

Set the area of the annotation to @area.

setColor
bool setColor(Color 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.

setContents
bool setContents(string contents)

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

setModified
bool setModified(string modified)

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

setModifiedFromTime
bool setModifiedFromTime(GTime utime)

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().

setName
bool setName(string name)

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

setRgba
bool setRgba(RGBA rgba)

Set the color of the annotation to @rgba.

From AnnotationMarkupIF

getAnnotationMarkupStruct
EvAnnotationMarkup* getAnnotationMarkupStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
canHavePopup
bool canHavePopup()
getLabel
string getLabel()
getOpacity
double getOpacity()
getPopupIsOpen
bool getPopupIsOpen()
getRectangle
void getRectangle(Rectangle evRect)
hasPopup
bool hasPopup()
setHasPopup
bool setHasPopup(bool hasPopup)
setLabel
bool setLabel(string label)
setOpacity
bool setOpacity(double opacity)
setPopupIsOpen
bool setPopupIsOpen(bool isOpen)
setRectangle
bool setRectangle(Rectangle evRect)

Meta