TargetList.addRichTextTargets

Appends the rich text targets registered with gtk.text_buffer.TextBuffer.registerSerializeFormat or gtk.text_buffer.TextBuffer.registerDeserializeFormat to the target list. All targets are added with the same info.

class TargetList
void
addRichTextTargets

Parameters

info uint

an ID that will be passed back to the application

deserializable bool

if true, then deserializable rich text formats will be added, serializable formats otherwise.

buffer gtk.text_buffer.TextBuffer

a #GtkTextBuffer.