Gtk.TargetList.prototype.add_rich_text_targets
function add_rich_text_targets(info:Number, deserializable:Boolean, buffer:Gtk.TextBuffer):void { // Gjs wrapper for gtk_target_list_add_rich_text_targets() }
Appends the rich text targets registered with Gtk.register_serialize_format or Gtk.register_deserialize_format to the target list. All targets are added with the same info.
Since 2.10
- info
an ID that will be passed back to the application
- deserializable
if true, then deserializable rich text formats will be added, serializable formats otherwise.
- buffer