Method

GtkTargetListadd_rich_text_targets

since: 2.10

Declaration [src]

void
gtk_target_list_add_rich_text_targets (
  GtkTargetList* list,
  guint info,
  gboolean deserializable,
  GtkTextBuffer* buffer
)

Description [src]

Appends the rich text targets registered with gtk_text_buffer_register_serialize_format() or gtk_text_buffer_register_deserialize_format() to the target list. All targets are added with the same info.

Available since: 2.10

Parameters

info

Type: guint

An ID that will be passed back to the application.

deserializable

Type: gboolean

If TRUE, then deserializable rich text formats will be added, serializable formats otherwise.

buffer

Type: GtkTextBuffer

A GtkTextBuffer.

The data is owned by the caller of the method.