gtkWidgetSetUposition         package:RGtk2         R Documentation

_g_t_k_W_i_d_g_e_t_S_e_t_U_p_o_s_i_t_i_o_n

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

     Sets the position of a widget. The funny "u" in the name comes
     from the "user position" hint specified by the X Window System,
     and exists for legacy reasons. This function doesn't work if a
     widget is inside a container; it's only really useful on
     'GtkWindow'. *WARNING: 'gtk_widget_set_uposition' is deprecated
     and should not be used in newly-written code.*

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

     gtkWidgetSetUposition(object, x, y)

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

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

     'x': [integer]  x position; -1 to unset x; -2 to leave x unchanged

     'y': [integer]  y position; -1 to unset y; -2 to leave y unchanged

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

     Don't use this function to center dialogs over the main
     application window; most window managers will do the centering on
     your behalf if you call 'gtkWindowSetTransientFor', and it's
     really not possible to get the centering to work correctly in all
     cases from application code. But if you insist, use
     'gtkWindowSetPosition' to set 'GTK_WIN_POS_CENTER_ON_PARENT',
     don't do the centering manually.

     Note that although 'x' and 'y' can be individually unset, the
     position is not honoured unless both 'x' and 'y' are set.

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

     Derived by RGtkGen from GTK+ documentation

