Gtk.TargetList.new

function new(targets:[Gtk.TargetEntry]):Gtk.TargetList {
    // Gjs wrapper for gtk_target_list_new()
}

Creates a new Gtk.TargetList from an array of Gtk.TargetEntry.

targets

Pointer to an array of Gtk.TargetEntry

Returns

the new Gtk.TargetList.