gtkWidgetRenderIcon          package:RGtk2          R Documentation

_g_t_k_W_i_d_g_e_t_R_e_n_d_e_r_I_c_o_n

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

     A convenience function that uses the theme engine and RC file
     settings for 'widget' to look up 'stock.id' and render it to a
     pixbuf. 'stock.id' should be a stock icon ID such as
     'GTK_STOCK_OPEN' or 'GTK_STOCK_OK'. 'size' should be a size such
     as 'GTK_ICON_SIZE_MENU'. 'detail' should be a string that
     identifies the widget or code doing the rendering, so that theme
     engines can special-case rendering for that widget or code.

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

     gtkWidgetRenderIcon(object, stock.id, size, detail = NULL)

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

'object': ['GtkWidget']  a 'GtkWidget'

'stock.id': [character]  a stock ID

  'size': ['GtkIconSize']  a stock size. A size of (GtkIconSize)-1
          means render at  the size of the source and don't scale (if
          there are multiple  source sizes, GTK+ picks one of the
          available sizes).

'detail': [character]  render detail to pass to theme engine

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

     The pixels in the returned 'GdkPixbuf' are shared with the rest of
     the application and should not be modified.

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

     ['GdkPixbuf']  a new pixbuf, or 'NULL' if the stock ID wasn't
     known

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

     Derived by RGtkGen from GTK+ documentation

