Method

GtkSourceMarkAttributesrender_icon

Declaration [src]

GdkPaintable*
gtk_source_mark_attributes_render_icon (
  GtkSourceMarkAttributes* attributes,
  GtkWidget* widget,
  gint size
)

Description [src]

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

widget GtkWidget*
 

Widget of which style settings may be used.

 The data is owned by the caller of the function.
size gint
 

Size of the rendered icon.

Return value

Returns: GdkPaintable*
 

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

 The data is owned by the instance.