Top | ![]() |
![]() |
![]() |
![]() |
GtkTextTag * | talkatu_tag_new () |
void | talkatu_tag_set_display () |
TalkatuTagDisplay | talkatu_tag_get_display () |
const gchar * | talkatu_tag_name_for_action_name () |
const gchar * | talkatu_tag_name_to_html () |
#define | TALKATU_TAG_PREFIX |
#define | TALKATU_TAG_PREFIX_LEN |
#define | TALKATU_TAG_BOLD |
#define | TALKATU_TAG_ITALIC |
#define | TALKATU_TAG_UNDERLINE |
#define | TALKATU_TAG_STRIKETHROUGH |
#define | TALKATU_TAG_SUBSCRIPT |
#define | TALKATU_TAG_SUPERSCRIPT |
#define | TALKATU_TAG_PRE |
#define | TALKATU_TAG_CODE |
#define | TALKATU_TAG_SEARCH |
#define | TALKATU_TAG_H1 |
#define | TALKATU_TAG_H2 |
#define | TALKATU_TAG_H3 |
#define | TALKATU_TAG_H4 |
#define | TALKATU_TAG_H5 |
#define | TALKATU_TAG_H6 |
#define | TALKATU_TAG_ANCHOR |
#define | TALKATU_TAG_DL |
#define | TALKATU_TAG_DT |
#define | TALKATU_TAG_DD |
#define | TALKATU_TAG_MESSAGE |
#define | TALKATU_TAG_TIMESTAMP |
#define | TALKATU_TAG_AUTHOR |
#define | TALKATU_TAG_CONTENTS |
#define | TALKATU_TAG_FORMATTING_START |
#define | TALKATU_TAG_FORMATTING_END |
enum | TalkatuTagDisplay |
#define | TALKATU_TYPE_TAG |
TalkatuTag |
GtkTextTag * talkatu_tag_new (const gchar *name
,const gchar *first_property
,...
);
Creates a new TalkatuTag to be used for styling text.
void talkatu_tag_set_display (TalkatuTag *tag
,TalkatuTagDisplay display
);
const gchar *
talkatu_tag_name_for_action_name (const gchar *action_name
);
Gets the tag name that should be used for action_name
.
#define TALKATU_TAG_PREFIX_LEN (sizeof(TALKATU_TAG_PREFIX)-1)
The length of TALKATU_TAG_PREFIX for easy computation.
#define TALKATU_TAG_BOLD TALKATU_TAG_PREFIX "bold"
A constant that represents the bold font style.
#define TALKATU_TAG_ITALIC TALKATU_TAG_PREFIX "italic"
A constant that represents the italic font style.
#define TALKATU_TAG_UNDERLINE TALKATU_TAG_PREFIX "underline"
A constant that represents the underlined font style.
#define TALKATU_TAG_STRIKETHROUGH TALKATU_TAG_PREFIX "strikethrough"
A constant that represents the strike through font style.
#define TALKATU_TAG_SUBSCRIPT TALKATU_TAG_PREFIX "subscript"
A constant that represents the sub-script font style.
#define TALKATU_TAG_SUPERSCRIPT TALKATU_TAG_PREFIX "superscript"
A constant that represents the super-script font style.
#define TALKATU_TAG_PRE TALKATU_TAG_PREFIX "preformatted"
A constant that represents a pre formatted font style.
#define TALKATU_TAG_CODE TALKATU_TAG_PREFIX "code"
A constant that represents a code font style.
#define TALKATU_TAG_SEARCH TALKATU_TAG_PREFIX "search"
A constant that represents the highlighed search term font style.
#define TALKATU_TAG_H1 TALKATU_TAG_PREFIX "header1"
A constant that represents the h1 header font style.
#define TALKATU_TAG_H2 TALKATU_TAG_PREFIX "header2"
A constant that represents the h2 header font style.
#define TALKATU_TAG_H3 TALKATU_TAG_PREFIX "header3"
A constant that represents the h3 header font style.
#define TALKATU_TAG_H4 TALKATU_TAG_PREFIX "header4"
A constant that represents the h4 header font style.
#define TALKATU_TAG_H5 TALKATU_TAG_PREFIX "header5"
A constant that represents the h5 header font style.
#define TALKATU_TAG_H6 TALKATU_TAG_PREFIX "header6"
A constant that represents the h6 header font style.
#define TALKATU_TAG_ANCHOR TALKATU_TAG_PREFIX "anchor"
A constant that represents an anchor or link font style.
“display”
property“display” TalkatuTagDisplay
How to display the text.
Flags: Read / Write / Construct
Default value: TALKATU_TAG_DISPLAY_INLINE