render_icon


Description:

public unowned Paintable 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:

size cannot be lower than 1.

Parameters:

this

a MarkAttributes.

widget

widget of which style settings may be used.

size

size of the rendered icon.

Returns:

A Paintable. The paintable belongs to this and should not be unreffed.




2022 vala-language.org