gdkWindowSetGeometryHints       package:RGtk2       R Documentation

_g_d_k_W_i_n_d_o_w_S_e_t_G_e_o_m_e_t_r_y_H_i_n_t_s

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

     Sets the geometry hints for 'window'. Hints flagged in 'geom.mask'
     are set, hints not flagged in 'geom.mask' are unset. To unset all
     hints, use a 'geom.mask' of 0 and a 'geometry' of 'NULL'.

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

     gdkWindowSetGeometryHints(object, geometry)

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

'object': ['GdkWindow']  a toplevel 'GdkWindow'

'geometry': ['GdkGeometry']  geometry hints

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

     This function provides hints to the windowing system about
     acceptable sizes for a toplevel window. The purpose of  this is to
     constrain user resizing, but the windowing system will typically 
     (but is not required to) also constrain the current size of the
     window to the provided values and constrain programatic resizing
     via 'gdkWindowResize' or 'gdkWindowMoveResize'.

     Note that on X11, this effect has no effect on windows of type
     'GDK_WINDOW_TEMP' or windows where override redirect has been
     turned on via 'gdkWindowSetOverrideRedirect' since these windows
     are not resizable by the user.

     Since you can't count on the windowing system doing the
     constraints for programmatic resizes, you should generally call
     'gdkWindowConstrainSize' yourself to determine appropriate sizes.

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

     Derived by RGtkGen from GTK+ documentation

