renderIcon

open fun renderIcon(widget: <Error class: unknown class>, size: Int): <Error class: unknown class>

Renders an icon of given size.

The base of the icon is set by the last call to one of:

  • method@MarkAttributes.set_pixbuf

  • method@MarkAttributes.set_gicon

  • method@MarkAttributes.set_icon_name

Return

A #GdkPaintable. The paintable belongs to @attributes and should not be unreffed.

Parameters

widget

widget of which style settings may be used.

size

size of the rendered icon.