Constructor
GtkSourceAnnotationnew
Declaration [src]
GtkSourceAnnotation*
gtk_source_annotation_new (
const char* description,
GIcon* icon,
int line,
GtkSourceAnnotationStyle style
)
Parameters
description-
Type:
const char*The text to display or
NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. icon-
Type:
GIconThe icon name to display or
NULL.The argument can be NULL.The data is owned by the caller of the function. line-
Type:
intThe line where to display the annotation.
style-
Type:
GtkSourceAnnotationStyleGtkSourceAnnotationStyle.
Return value
Type: GtkSourceAnnotation
A new GtkSourceAnnotation.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |