render_icon


Description:

public unowned Pixbuf render_icon (Widget widget, int size)

Renders an icon of given size.

The base of the icon is set by the last call to one of: set_pixbuf , set_gicon or set_icon_name. size cannot be lower than 1.

Parameters:

this

a SourceMarkAttributes.

widget

widget of which style settings may be used.

size

size of the rendered icon.

Returns:

A rendered pixbuf. The pixbuf belongs to this and should not be unreffed.




2022 vala-language.org