gtkWindowSetIconFromFile        package:RGtk2        R Documentation

_g_t_k_W_i_n_d_o_w_S_e_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 the icon for 'window'.   Warns on failure if 'err' is 'NULL'.

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

     gtkWindowSetIconFromFile(object, filename, .errwarn = TRUE)

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

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

'filename': [character]  location of icon file

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

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

     This function is equivalent to calling 'gtkWindowSetIcon' with a
     pixbuf created by loading the image from 'filename'.  

     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

