Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTextViewScrollToMark

gtkTextViewScrollToMark


Description

Scrolls text.view so that mark is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If use.align is FALSE, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within.margin.

Usage

gtkTextViewScrollToMark(object, mark, within.margin, use.align = FALSE, 
    xalign = 0.5, yalign = 0.5)

Arguments

object

a GtkTextView

mark

a GtkTextMark

within.margin

margin as a [0.0,0.5) fraction of screen size

use.align

whether to use alignment arguments (if FALSE, just get the mark onscreen)

xalign

horizontal alignment of mark within visible area

yalign

vertical alignment of mark within visible area

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.