Function

BirbAttrLinknew

since: 0.10

Declaration [src]

PangoAttribute*
birb_attr_link_new (
  const char* href,
  const char* title
)

Description [src]

Creates a new PangoAttribute to represent a “link”.

Available since: 0.10

Parameters

href

Type: const char*

The URI being linked.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
title

Type: const char*

An optional title.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PangoAttribute

The newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

The caller of the function takes ownership of the data, and is responsible for freeing it.