gtkWindowSetDefaultIconFromFile    package:RGtk2    R Documentation

_g_t_k_W_i_n_d_o_w_S_e_t_D_e_f_a_u_l_t_I_c_o_n_F_r_o_m_F_i_l_e

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

     Sets an icon to be used as fallback for windows that haven't had
     'gtkWindowSetIconList' called on them from a file on disk. Warns
     on failure if 'err' is 'NULL'.

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

     gtkWindowSetDefaultIconFromFile(filename, .errwarn = TRUE)

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

'filename': [character]  location of icon file

.errwarn: Whether to issue a warning on error or fail silently

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

     Since  2.2

_V_a_l_u_e:

     A list containing the following elements: 

  retval: [logical] 'TRUE' if setting the icon succeeded.

 'error': ['GError']  location to store error, or 'NULL'.

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

     Derived by RGtkGen from GTK+ documentation

