Top | ![]() |
![]() |
![]() |
![]() |
Support for HTML is provided via a custom GtkTextBuffer that knows how to render it properly.
GtkTextBuffer *
talkatu_html_buffer_new (void
);
Creates a new TalkatuHtmlBuffer. A TalkatuHtmlBuffer supports HTML formatting as well as pasting rendered HTML.
void talkatu_html_buffer_insert_html (TalkatuHtmlBuffer *buffer
,GtkTextIter *iter
,const gchar *text
,gint len
);
Inserts and renders text
as HTML into buffer
.
buffer |
The TalkatuHtmlBuffer instance. |
|
iter |
The GtkTextIter where to insert the HTML. |
|
text |
The HTML text to insert. |
|
len |
The length of |