a GtkStyleContext
icon size. A size of (GtkIconSize)-1 means render at the size of the source and don't scale. [type int]
the window scale to render for
GdkWindow to optimize drawing for, or NULL. [allow-none]
a cairo_surface_t to be displayed. [transfer full] Since 3.10
Warning gtk_icon_set_render_icon_surface has been deprecated since version 3.10 and should not be used in newly-written code. Use GtkIconTheme instead. Renders an icon using gtk_render_icon_pixbuf() and converts it to a cairo surface. This function never returns NULL; if the icon can't be rendered (perhaps because an image file fails to load), a default "missing image" icon will be returned instead.