gtkIconSizeLookupForSettings      package:RGtk2      R Documentation

_g_t_k_I_c_o_n_S_i_z_e_L_o_o_k_u_p_F_o_r_S_e_t_t_i_n_g_s

_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 a particular  'GtkSettings'. 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:

     gtkIconSizeLookupForSettings(settings, size)

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

'settings': ['GtkSettings']  a 'GtkSettings' object, used to determine
          which set of user preferences to used.

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

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

     Since  2.2

_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

