Method

TalkatuBufferinsert_link

Declaration [src]

void
talkatu_buffer_insert_link (
  TalkatuBuffer* buffer,
  GtkTextIter* pos,
  const gchar* display_text,
  const gchar* url
)

Description [src]

Inserts a link into buffer with the given url and display_text. If display_text is not given, url will be used.

Parameters

pos GtkTextIter
 

The GtkTextIter where to insert the link.

 The data is owned by the caller of the function.
display_text const gchar*
 

The Text to display for the link.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
url const gchar*
 

The url to link to.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.