gtkScrolledWindowAddWithViewport    package:RGtk2    R Documentation

_g_t_k_S_c_r_o_l_l_e_d_W_i_n_d_o_w_A_d_d_W_i_t_h_V_i_e_w_p_o_r_t

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

     Used to add children without native scrolling capabilities. This
     is simply a convenience function; it is equivalent to adding the
     unscrollable child to a viewport, then adding the viewport to the
     scrolled window. If a child has native scrolling, use
     'gtkContainerAdd' instead of this function.

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

     gtkScrolledWindowAddWithViewport(object, child)

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

'object': ['GtkScrolledWindow'] A 'GtkScrolledWindow'.

 'child': ['GtkWidget'] Widget you want to scroll.

_D_e_t_a_i_l_s:

     The viewport scrolls the child by moving its 'GdkWindow', and
     takes the size of the child to be the size of its toplevel
     'GdkWindow'. This will be very wrong for most widgets that support
     native scrolling; for example, if you add a widget such as
     'GtkTreeView' with a viewport, the  whole widget will scroll,
     including the column headings. Thus, widgets with native scrolling
     support should not be used with the 'GtkViewport' proxy.

     A widget supports scrolling natively if the
     set_scroll_adjustments_signal field in 'GtkWidgetClass' is
     non-zero, i.e. has been filled in with a valid signal identifier.

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

     Derived by RGtkGen from GTK+ documentation

