gtkIconSizeLookup           package:RGtk2           R Documentation

_g_t_k_I_c_o_n_S_i_z_e_L_o_o_k_u_p

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

     Obtains the pixel size of a semantic icon size, possibly modified
     by user preferences for the default 'GtkSettings'. (See
     'gtkIconSizeLookupForSettings'.) Normally 'size' would be
     'GTK_ICON_SIZE_MENU', 'GTK_ICON_SIZE_BUTTON', etc.  This function
     isn't normally needed, 'gtkWidgetRenderIcon' is the usual way to
     get an icon for rendering, then just look at the size of the
     rendered pixbuf. The rendered pixbuf may not even correspond to
     the width/height returned by 'gtkIconSizeLookup', because themes
     are free to render the pixbuf however they like, including
     changing the usual size.

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

     gtkIconSizeLookup(size)

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

  'size': ['GtkIconSize']  an icon size

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

     A list containing the following elements: 

  retval: [logical] 'TRUE' if 'size' was a valid size

 'width': [integer]  location to store icon width

'height': [integer]  location to store icon height

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

     Derived by RGtkGen from GTK+ documentation

