gtkWindowSetRole            package:RGtk2            R Documentation

_g_t_k_W_i_n_d_o_w_S_e_t_R_o_l_e

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

     This function is only useful on X11, not with other GTK+ targets.

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

     gtkWindowSetRole(object, role)

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

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

  'role': [character]  unique identifier for the window to be used when
          restoring a session

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

     In combination with the window title, the window role allows a
     window manager to identify "the same" window when an application
     is restarted. So for example you might set the "toolbox" role on
     your app's toolbox window, so that when the user restarts their
     session, the window manager can put the toolbox back in the same
     place.

     If a window already has a unique title, you don't need to set the
     role, since the WM can use the title to identify the window when
     restoring the session.

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

     Derived by RGtkGen from GTK+ documentation

