gdkWindowSetRole            package:RGtk2            R Documentation

_g_d_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:

     When using GTK+, typically you should use 'gtkWindowSetRole'
     instead of this low-level function.

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

     gdkWindowSetRole(object, role)

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

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

  'role': [character]  a string indicating its role

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

     The window manager and session manager use a window's role to
     distinguish it from other kinds of window in the same application.
     When an application is restarted after being saved in a previous
     session, all windows with the same title and role are treated as
     interchangeable.  So if you have two windows with the same title
     that should be distinguished for session management purposes, you
     should set the role on those windows. It doesn't matter what
     string you use for the role, as long as you have a different role
     for each non-interchangeable kind of window.

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

     Derived by RGtkGen from GTK+ documentation

