Constructor

GtkTextChildAnchornew_with_replacement

Declaration [src]

GtkTextChildAnchor*
gtk_text_child_anchor_new_with_replacement (
  const char* character
)

Description [src]

Creates a new GtkTextChildAnchor with the given replacement character.

Usually you would then insert it into a GtkTextBuffer with gtk_text_buffer_insert_child_anchor().

Available since:4.6

Parameters

character const char*
  No description available.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: GtkTextChildAnchor
 

A new GtkTextChildAnchor

 The caller of the function takes ownership of the data, and is responsible for freeing it.