Description Usage Arguments Details Value Author(s)
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.
1 | gtkIconSizeLookupForSettings(settings, size)
|
|
a |
|
an icon size. [ type int] |
Since 2.2
A list containing the following elements:
retval |
[logical] |
|
location to store icon width |
|
location to store icon height |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.