View

class View : Container, ScrollableIF {}

Constructors

this
this(EvView* evView, bool ownedRef)

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

this
this()

Members

Functions

addOnActivate
gulong addOnActivate(void delegate(View) dlg, ConnectFlags connectFlags)
addOnAnnotAdded
gulong addOnAnnotAdded(void delegate(Annotation, View) dlg, ConnectFlags connectFlags)
addOnAnnotRemoved
gulong addOnAnnotRemoved(void delegate(Annotation, View) dlg, ConnectFlags connectFlags)
addOnCursorMoved
gulong addOnCursorMoved(void delegate(int, int, View) dlg, ConnectFlags connectFlags)
addOnExternalLink
gulong addOnExternalLink(void delegate(ObjectG, View) dlg, ConnectFlags connectFlags)
addOnHandleLink
gulong addOnHandleLink(void delegate(int, ObjectG, View) dlg, ConnectFlags connectFlags)
addOnLayersChanged
gulong addOnLayersChanged(void delegate(View) dlg, ConnectFlags connectFlags)
addOnMoveCursor
gulong addOnMoveCursor(bool delegate(GtkMovementStep, int, bool, View) dlg, ConnectFlags connectFlags)
addOnPopup
gulong addOnPopup(void delegate(void*, View) dlg, ConnectFlags connectFlags)
addOnScroll
gulong addOnScroll(void delegate(GtkScrollType, GtkOrientation, View) dlg, ConnectFlags connectFlags)
addOnSelectionChanged
gulong addOnSelectionChanged(void delegate(View) dlg, ConnectFlags connectFlags)
addOnSyncSource
gulong addOnSyncSource(void delegate(SourceLink, View) dlg, ConnectFlags connectFlags)
addTextMarkupAnnotationForSelectedText
bool addTextMarkupAnnotationForSelectedText()

Adds a Text Markup annotation (defaulting to a 'highlight' one) to the currently selected text on the document.

autoscrollStart
void autoscrollStart()
autoscrollStop
void autoscrollStop()
beginAddAnnotation
void beginAddAnnotation(EvAnnotationType annotType)
canZoomIn
bool canZoomIn()
canZoomOut
bool canZoomOut()
cancelAddAnnotation
void cancelAddAnnotation()
copy
void copy()
copyLinkAddress
void copyLinkAddress(LinkAction action)
findCancel
void findCancel()
findNext
void findNext()
findPrevious
void findPrevious()
findRestart
void findRestart(int page)

Restart the current search operation from the given @page.

findSearchChanged
void findSearchChanged()
findSetHighlightSearch
void findSetHighlightSearch(bool value)
findSetResult
void findSetResult(int page, int result)

FIXME

findStarted
void findStarted(JobFind job)
focusAnnotation
void focusAnnotation(EvMapping* annotMapping)
getAllowLinksChangeZoom
bool getAllowLinksChangeZoom()
getEnableSpellchecking
bool getEnableSpellchecking()
getHasSelection
bool getHasSelection()
getPageExtents
bool getPageExtents(int page, GdkRectangle* pageArea, Border border)
getPageExtentsForBorder
bool getPageExtentsForBorder(int page, Border border, GdkRectangle* pageArea)
getSelectedText
string getSelectedText()

Returns a pointer to a constant string containing the selected text in the view.

getStruct
void* getStruct()

the main Gtk struct as a void*

getViewStruct
EvView* getViewStruct(bool transferOwnership)

Get the main Gtk struct

handleLink
void handleLink(Link link)
hideCursor
void hideCursor()
highlightForwardSearch
void highlightForwardSearch(SourceLink link)
isCaretNavigationEnabled
bool isCaretNavigationEnabled()
isLoading
bool isLoading()
nextPage
bool nextPage()
previousPage
bool previousPage()
reload
void reload()
removeAnnotation
void removeAnnotation(Annotation annot)
scroll
void scroll(GtkScrollType scroll, bool horizontal)
selectAll
void selectAll()
setAllowLinksChangeZoom
void setAllowLinksChangeZoom(bool allowed)
setCaretCursorPosition
void setCaretCursorPosition(uint page, uint offset)
setCaretNavigationEnabled
void setCaretNavigationEnabled(bool enabled)

Enables or disables caret navigation mode for the document.

setEnableSpellchecking
void setEnableSpellchecking(bool spellcheck)
setLoading
void setLoading(bool loading)
setModel
void setModel(DocumentModel model)
setPageCacheSize
void setPageCacheSize(size_t cacheSize)

Sets the maximum size in bytes that will be used to cache rendered pages. Use 0 to disable caching rendered pages.

showCursor
void showCursor()
supportsCaretNavigation
bool supportsCaretNavigation()
zoomIn
void zoomIn()
zoomOut
void zoomOut()

Mixins

__anonymous
mixin ScrollableT!(EvView)
Undocumented in source.

Static functions

getType
GType getType()

Variables

evView
EvView* evView;

the main Gtk struct

Meta