Description Usage Arguments Details Value Author(s)
Scrolls text.view
so that iter
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
.
1 2 | gtkTextViewScrollToIter(object, iter, within.margin, use.align = FALSE,
xalign = 0.5, yalign = 0.5)
|
|
a |
|
a |
|
margin as a [0.0,0.5) fraction of screen size |
|
whether to use alignment arguments (if |
|
horizontal alignment of mark within visible area |
|
vertical alignment of mark within visible area |
Note that this function uses the currently-computed height of the
lines in the text buffer. Line heights are computed in an idle
handler; so this function may not have the desired effect if it's
called before the height computations. To avoid oddness, consider
using gtkTextViewScrollToMark
which saves a point to be
scrolled to after line validation.
[logical] TRUE
if scrolling occurred
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.