gtkTextViewScrollToIter        package:RGtk2        R Documentation

_g_t_k_T_e_x_t_V_i_e_w_S_c_r_o_l_l_T_o_I_t_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     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'. NOTE: This function uses the
     currently-computed height of the lines in the text buffer. Note
     that 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.

_U_s_a_g_e:

     gtkTextViewScrollToIter(object, iter, within.margin, use.align = FALSE, xalign = 0.5, yalign = 0.5)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkTextView']  a 'GtkTextView'

  'iter': ['GtkTextIter']  a 'GtkTextIter'

'within.margin': [numeric]  margin as a [0.0,0.5) fraction of screen
          size

'use.align': [logical]  whether to use alignment arguments (if 'FALSE',
          just get the mark onscreen)

'xalign': [numeric]  horizontal alignment of mark within visible area.

'yalign': [numeric]  vertical alignment of mark within visible area

_V_a_l_u_e:

     [logical]  'TRUE' if scrolling occurred

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

