Gtk.TargetEntry.prototype.copy

function copy():Gtk.TargetEntry {
    // Gjs wrapper for gtk_target_entry_copy()
}

Makes a copy of a Gtk.TargetEntry structure and its data.

Returns

a pointer to a copy of data. Free with Gtk.free