Function
Gtkrender_icon_pixbuf
deprecated: 3.10 since: 3.0
Declaration [src]
GdkPixbuf*
gtk_render_icon_pixbuf (
GtkStyleContext* context,
const GtkIconSource* source,
GtkIconSize size
)
Description [src]
Renders the icon specified by source at the given size, returning the result
in a pixbuf.
Available since: 3.0
Deprecated since: 3.10
Use gtk_icon_theme_load_icon() instead.
Parameters
context-
Type:
GtkStyleContextA
GtkStyleContext.The data is owned by the caller of the function. source-
Type:
GtkIconSourceThe
GtkIconSourcespecifying the icon to render.The data is owned by the caller of the function. size-
Type:
GtkIconSizeThe size (
GtkIconSize) to render the icon at. A size of(GtkIconSize) -1means render at the size of the source and don’t scale.
Return value
Type: GdkPixbuf
A newly-created GdkPixbuf containing the rendered icon.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |