gtkIconInfoLoadIcon          package:RGtk2          R Documentation

_g_t_k_I_c_o_n_I_n_f_o_L_o_a_d_I_c_o_n

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

     Renders an icon previously looked up in an icon theme using
     'gtkIconThemeLookupIcon'; the size will be based on the size
     passed to 'gtkIconThemeLookupIcon'. Note that the resulting pixbuf
     may not be exactly this size; an icon theme may have icons that
     differ slightly from their nominal sizes, and in addition GTK+
     will avoid scaling icons that it considers sufficiently close to
     the requested size or for which the source image would have to be
     scaled up too far. (This maintains sharpness.)

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

     gtkIconInfoLoadIcon(object, .errwarn = TRUE)

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

'object': ['GtkIconInfo']  a 'GtkIconInfo' structure from
          'gtkIconThemeLookupIcon'

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

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

     Since  2.4

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

     A list containing the following elements: 

  retval: ['GdkPixbuf']  the rendered icon; this may be a newly created
          icon or a new reference to an internal icon, so you must not
          modify the icon.

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

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

     Derived by RGtkGen from GTK+ documentation

