gtkWidgetSetSizeRequest        package:RGtk2        R Documentation

_g_t_k_W_i_d_g_e_t_S_e_t_S_i_z_e_R_e_q_u_e_s_t

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

     Sets the minimum size of a widget; that is, the widget's size
     request will be 'width' by 'height'. You can use this function to
     force a widget to be either larger or smaller than it normally
     would be.

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

     gtkWidgetSetSizeRequest(object, width, height)

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

'object': ['GtkWidget']  a 'GtkWidget'

 'width': [integer]  width 'widget' should request, or -1 to unset

'height': [integer]  height 'widget' should request, or -1 to unset

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

     In most cases, 'gtkWindowSetDefaultSize' is a better choice for
     toplevel windows than this function; setting the default size will
     still allow users to shrink the window. Setting the size request
     will force them to leave the window at least as large as the size
     request. When dealing with window sizes,
     'gtkWindowSetGeometryHints' can be a useful function as well.

     Note the inherent danger of setting any fixed size - themes,
     translations into other languages, different fonts, and user
     action can all change the appropriate size for a given widget. So,
     it's basically impossible to hardcode a size that will always be
     correct.

     The size request of a widget is the smallest size a widget can
     accept while still functioning well and drawing itself correctly.
     However in some strange cases a widget may be allocated less than
     its requested size, and in many cases a widget may be allocated
     more space than it requested.

     If the size request in a given direction is -1 (unset), then the
     "natural" size request of the widget will be used instead.

     Widgets can't actually be allocated a size less than 1 by 1, but
     you can pass 0,0 to this function to mean "as small as possible."

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

     Derived by RGtkGen from GTK+ documentation

