Method
GtkIconThemelookup_by_gicon
Declaration [src]
GtkIconPaintable*
gtk_icon_theme_lookup_by_gicon (
  GtkIconTheme* self,
  GIcon* icon,
  int size,
  int scale,
  GtkTextDirection direction,
  GtkIconLookupFlags flags
)
Description [src]
Looks up a icon for a desired size and window scale.
The icon can then be rendered by using it as a GdkPaintable,
or you can get information such as the filename and size.
Parameters
| icon | GIcon | 
| The  | |
| The data is owned by the caller of the function. | |
| size | int | 
| Desired icon size. | |
| scale | int | 
| The desired scale. | |
| direction | GtkTextDirection | 
| Text direction the icon will be displayed in. | |
| flags | GtkIconLookupFlags | 
| Flags modifying the behavior of the icon lookup. | 
Return value
| Returns: | GtkIconPaintable | 
| A  | |
| The caller of the method takes ownership of the data, and is responsible for freeing it. |