Top | ![]() |
![]() |
![]() |
![]() |
void | talkatu_action_add_bold () |
void | talkatu_action_add_italic () |
void | talkatu_action_add_underline () |
void | talkatu_action_add_strikethrough () |
void | talkatu_action_add_grow () |
void | talkatu_action_add_shrink () |
void | talkatu_action_add_reset () |
void | talkatu_action_add_link () |
const gchar * | talkatu_action_name_for_tag_name () |
#define | TALKATU_ACTION_FORMAT_BOLD |
#define | TALKATU_ACTION_FORMAT_ITALIC |
#define | TALKATU_ACTION_FORMAT_UNDERLINE |
#define | TALKATU_ACTION_FORMAT_STRIKETHROUGH |
#define | TALKATU_ACTION_FORMAT_GROW |
#define | TALKATU_ACTION_FORMAT_SHRINK |
#define | TALKATU_ACTION_FORMAT_RESET |
#define | TALKATU_ACTION_INSERT_LINK |
A lot of Talkatu's user interation is handled by GAction's. These functions help make that easier.
void talkatu_action_add_bold (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will apply bold formatting when activated.
void talkatu_action_add_italic (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will apply italic formatting when activated.
void talkatu_action_add_underline (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will apply underlined formatting when activated.
void talkatu_action_add_strikethrough (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will apply strikethrough formatting when activated.
void talkatu_action_add_grow (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will increase the font size when activated.
void talkatu_action_add_shrink (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make will decrease the font size when activated.
void talkatu_action_add_reset (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will make remove all formatting when activated.
void talkatu_action_add_link (GActionMap *map
,GtkTextBuffer *buffer
);
Adds an action that will display an anchor link window when activated.
#define TALKATU_ACTION_FORMAT_BOLD ("format-bold")
A constant that represents the bold font style action.
#define TALKATU_ACTION_FORMAT_ITALIC ("format-italic")
A constant that represents the italic font style action.
#define TALKATU_ACTION_FORMAT_UNDERLINE ("format-underline")
A constant that represents the underline font style action.
#define TALKATU_ACTION_FORMAT_STRIKETHROUGH ("format-strikethrough")
A constant that represents the strike through font style action.
#define TALKATU_ACTION_FORMAT_GROW ("format-grow")
A constant that represents the increase font size action.
#define TALKATU_ACTION_FORMAT_SHRINK ("format-shrink")
A constant that represents the decrease font size action.
#define TALKATU_ACTION_FORMAT_RESET ("format-reset")
A constant that represents the reset all formatting action.