gtkWindowSetDefault          package:RGtk2          R Documentation

_g_t_k_W_i_n_d_o_w_S_e_t_D_e_f_a_u_l_t

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

     The default widget is the widget that's activated when the user
     presses Enter in a dialog (for example). This function sets or
     unsets the default widget for a 'GtkWindow' about. When setting
     (rather than unsetting) the default widget it's generally easier
     to call 'gtkWidgetGrabFocus' on the widget. Before making a widget
     the default widget, you must set the 'GTK_CAN_DEFAULT' flag on the
     widget you'd like to make the default using 'gtkWidgetSetFlags()'.

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

     gtkWindowSetDefault(object, default.widget = NULL)

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

'object': ['GtkWindow']  a 'GtkWindow'

'default.widget': ['GtkWidget']  widget to be the default, or 'NULL' to
          unset the default widget for the toplevel.

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

     Derived by RGtkGen from GTK+ documentation

