Tags

Tags — Helpers for handling tags.

Functions

Types and Values

Description

Talkatu deals with a lot of tags which this API tries to make easier.

Functions

talkatu_tag_name_for_action_name ()

const gchar *
talkatu_tag_name_for_action_name (const gchar *action_name);

Gets the tag name that should be used for action_name .

Parameters

action_name

The name of the action to find a tag name for.

 

Returns

The tag name to be used for action_name , or NULL.

Types and Values

TALKATU_TAG_BOLD

#define TALKATU_TAG_BOLD          ("bold")

A constant that represents the bold font style.


TALKATU_TAG_ITALIC

#define TALKATU_TAG_ITALIC        ("italic")

A constant that represents the italic font style.


TALKATU_TAG_UNDERLINE

#define TALKATU_TAG_UNDERLINE     ("underline")

A constant that represents the underlined font style.


TALKATU_TAG_STRIKETHROUGH

#define TALKATU_TAG_STRIKETHROUGH ("strikethrough")

A constant that represents the strike through font style.


TALKATU_TAG_SUBSCRIPT

#define TALKATU_TAG_SUBSCRIPT     ("subscript")

A constant that represents the sub-script font style.


TALKATU_TAG_SUPERSCRIPT

#define TALKATU_TAG_SUPERSCRIPT   ("superscript")

A constant that represents the super-script font style.


TALKATU_TAG_PRE

#define TALKATU_TAG_PRE           ("pre")

A constant that represents a pre formatted font style.


TALKATU_TAG_CODE

#define TALKATU_TAG_CODE          ("code")

A constant that represents a code font style.


TALKATU_TAG_SEARCH

#define TALKATU_TAG_SEARCH        ("search")

A constant that represents the highlighed search term font style.


TALKATU_TAG_H1

#define TALKATU_TAG_H1            ("h1")

A constant that represents the h1 header font style.


TALKATU_TAG_H2

#define TALKATU_TAG_H2            ("h2")

A constant that represents the h2 header font style.


TALKATU_TAG_H3

#define TALKATU_TAG_H3            ("h3")

A constant that represents the h3 header font style.


TALKATU_TAG_H4

#define TALKATU_TAG_H4            ("h4")

A constant that represents the h4 header font style.


TALKATU_TAG_H5

#define TALKATU_TAG_H5            ("h5")

A constant that represents the h5 header font style.


TALKATU_TAG_H6

#define TALKATU_TAG_H6            ("h6")

A constant that represents the h6 header font style.


TALKATU_TAG_ANCHOR

#define TALKATU_TAG_ANCHOR        ("a")

A constant that represents an anchor or link font style.