gtkImageNewFromIconSet         package:RGtk2         R Documentation

_g_t_k_I_m_a_g_e_N_e_w_F_r_o_m_I_c_o_n_S_e_t

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

     Creates a 'GtkImage' displaying an icon set. Sample stock sizes
     are 'GTK_ICON_SIZE_MENU', 'GTK_ICON_SIZE_SMALL_TOOLBAR'. Instead
     of using this function, usually it's better to create a
     'GtkIconFactory', put your icon sets in the icon factory, add the
     icon factory to the list of default factories with
     'gtkIconFactoryAddDefault', and then use 'gtkImageNewFromStock'.
     This will allow themes to override the icon you ship with your
     application.

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

     gtkImageNewFromIconSet(icon.set, size, show = TRUE)

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

'icon.set': ['GtkIconSet']  a 'GtkIconSet'

  'size': ['GtkIconSize']  a stock icon size

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

     The 'GtkImage' does not assume a reference to the icon set; you
     still need to unref it if you own references. 'GtkImage' will add
     its own reference rather than adopting yours.

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

     ['GtkWidget']  a new 'GtkImage'

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

     Derived by RGtkGen from GTK+ documentation

