gtkWindowSetIcon            package:RGtk2            R Documentation

_g_t_k_W_i_n_d_o_w_S_e_t_I_c_o_n

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

     Sets up the icon representing a 'GtkWindow'. This icon is used
     when the window is minimized (also known as iconified).  Some
     window managers or desktop environments may also place it in the
     window frame, or display it in other contexts.

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

     gtkWindowSetIcon(object, icon = NULL)

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

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

  'icon': ['GdkPixbuf']  icon image, or 'NULL'

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

     The icon should be provided in whatever size it was naturally
     drawn; that is, don't scale the image before passing it to GTK+.
     Scaling is postponed until the last minute, when the desired final
     size is known, to allow best quality.

     If you have your icon hand-drawn in multiple sizes, use
     'gtkWindowSetIconList'. Then the best size will be used.

     This function is equivalent to calling 'gtkWindowSetIconList' with
     a 1-element list.

     See also 'gtkWindowSetDefaultIconList' to set the icon for all
     windows in your application in one go.

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

     Derived by RGtkGen from GTK+ documentation

