Function
BirbAttrMentionnew
since: 0.8
Declaration [src]
PangoAttribute*
birb_attr_mention_new (
BirbMention type,
const char* id,
const char* color
)
Parameters
type-
Type:
BirbMentionThe type of mention.
id-
Type:
const char*The id of who/what was mentioned.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. color-
Type:
const char*The RGB hex code.
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. |